Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006661/0.006667, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.323/4.323, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002121/0.002122, allocations: 91.45 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006144/0.0006149, allocations: 12 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5252/0.5259, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.0173/0.5433, allocations: 7.107 MB / 381.6 MB, free: 39.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.554, allocations: 2.781 MB / 384.4 MB, free: 37.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/0.5566, allocations: 36.72 kB / 384.5 MB, free: 37.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003766/0.5605, allocations: 0.5007 MB / 385 MB, free: 37.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005144/0.5657, allocations: 0.5957 MB / 385.6 MB, free: 36.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.5678, allocations: 213 kB / 385.8 MB, free: 36.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006048/0.5739, allocations: 1.458 MB / 387.2 MB, free: 35.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004157/0.5782, allocations: 1.197 MB / 388.4 MB, free: 34.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.5809, allocations: 0.6967 MB / 389.1 MB, free: 34.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.5841, allocations: 0.9222 MB / 390 MB, free: 33.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001/0.5852, allocations: 112 kB / 390.1 MB, free: 33.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.5872, allocations: 183.9 kB / 390.3 MB, free: 32.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001759/0.5891, allocations: 0.553 MB / 390.9 MB, free: 32.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.5907, allocations: 432.6 kB / 391.3 MB, free: 32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006368/0.5972, allocations: 2.794 MB / 394.1 MB, free: 29.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.5972, allocations: 3.938 kB / 394.1 MB, free: 29.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.5973, allocations: 0 / 394.1 MB, free: 29.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001577/0.5974, allocations: 4 kB / 394.1 MB, free: 29.2 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.01257/0.61, allocations: 2.119 MB / 396.2 MB, free: 27.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.6101, allocations: 12.03 kB / 396.2 MB, free: 27.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.6122, allocations: 245.3 kB / 396.5 MB, free: 26.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005284/0.6176, allocations: 1.192 MB / 397.7 MB, free: 25.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002914/0.6179, allocations: 135.5 kB / 397.8 MB, free: 25.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/0.6192, allocations: 176 kB / 398 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.6298, allocations: 2.351 MB / 400.3 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001457/0.6301, allocations: 15.91 kB / 400.3 MB, free: 22.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004789/0.6306, allocations: 72 kB / 400.4 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002038/0.6308, allocations: 95.45 kB / 400.5 MB, free: 22.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009365/0.6402, allocations: 1.966 MB / 402.5 MB, free: 20.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02613/0.6664, allocations: 7.133 MB / 409.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004233/0.6707, allocations: 1.28 MB / 410.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000479/0.6712, allocations: 126.1 kB / 411 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.034e-05/0.6713, allocations: 39.56 kB / 411 MB, free: 11.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 8.075e-06/0.6714, allocations: 4 kB / 411 MB, free: 11.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=107): time 0.04105/0.7124, allocations: 6.979 MB / 418 MB, free: 4.699 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.7126, allocations: 68.34 kB / 418.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003984/0.7166, allocations: 1.152 MB / 419.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000363/0.717, allocations: 45.7 kB / 419.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.7181, allocations: 0.8514 MB / 420.1 MB, free: 2.543 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007619/0.7189, allocations: 378.5 kB / 420.5 MB, free: 2.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.7191, allocations: 24 kB / 420.5 MB, free: 2.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.7193, allocations: 358.8 kB / 420.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/0.7221, allocations: 0.6623 MB / 421.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00323/0.7254, allocations: 0.958 MB / 422.5 MB, free: 40 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003707/0.7292, allocations: 0.8072 MB / 423.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.466e-05/0.7293, allocations: 4 kB / 423.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.01154/0.7409, allocations: 2.261 MB / 425.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.741, allocations: 12 kB / 425.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/0.7411, allocations: 8 kB / 425.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00418/0.7453, allocations: 0.5967 MB / 426.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003094/0.7484, allocations: 271.6 kB / 426.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/0.7691, allocations: 6.425 MB / 432.9 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/0.7721, allocations: 87.91 kB / 433 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004654/0.7726, allocations: 52 kB / 433 MB, free: 5.234 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002969/0.7757, allocations: 0.5993 MB / 433.6 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007781/0.7765, allocations: 146.3 kB / 433.8 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/0.7879, allocations: 2.169 MB / 435.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.14e-05/0.788, allocations: 12 kB / 435.9 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.528e-05/0.7881, allocations: 4 kB / 435.9 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-05/0.7881, allocations: 3.984 kB / 435.9 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02139/0.8095, allocations: 4.285 MB / 440.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-05/0.8097, allocations: 4 kB / 440.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002246/0.8119, allocations: 167.8 kB / 440.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004982/0.817, allocations: 0.6553 MB / 441.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003458/0.8174, allocations: 31.98 kB / 441.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02261/0.84, allocations: 7.921 MB / 449 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/0.8401, allocations: 3.938 kB / 449 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/0.8544, allocations: 3.212 MB / 452.2 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/0.8565, allocations: 347.3 kB / 452.6 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007492/0.8573, allocations: 31.98 kB / 452.6 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00263/0.86, allocations: 83.91 kB / 452.7 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007057/0.8607, allocations: 92.77 kB / 452.8 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/0.861, allocations: 24 kB / 452.8 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003247/0.8642, allocations: 0.7991 MB / 453.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.8643, allocations: 0 / 453.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004822/0.8692, allocations: 428 kB / 454 MB, free: 15.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 20,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008239/0.8701, allocations: 147 kB / 454.1 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009959/0.88, allocations: 2.231 MB / 456.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/0.8801, allocations: 0 / 456.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006817/0.887, allocations: 1.496 MB / 457.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00455/0.8916, allocations: 348.8 kB / 458.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/0.9095, allocations: 4.73 MB / 462.9 MB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004014/0.9136, allocations: 1.661 MB / 464.6 MB, free: 4.734 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/0.9147, allocations: 103.4 kB / 464.7 MB, free: 4.637 MB / 346.7 MB Notification: Performance of SimCode: time 1.853e-06/0.9148, allocations: 0 / 464.7 MB, free: 4.637 MB / 346.7 MB Notification: Performance of Templates: time 0.6309/1.546, allocations: 56.06 MB / 0.5086 GB, free: 99.63 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches