Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008888/0.0008889, allocations: 102.9 kB / 17.31 MB, free: 6.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009857/0.000986, allocations: 178.5 kB / 18.21 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005081, allocations: 8 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1289, allocations: 47.58 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01028/0.1393, allocations: 8.991 MB / 338 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007127/0.1465, allocations: 3.086 MB / 341 MB, free: 7.617 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.1481, allocations: 43.75 kB / 341.1 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.1499, allocations: 0.5827 MB / 341.7 MB, free: 6.988 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.1523, allocations: 0.6877 MB / 342.4 MB, free: 6.297 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009024/0.1532, allocations: 347.6 kB / 342.7 MB, free: 5.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003299/0.1565, allocations: 2.868 MB / 345.6 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.1589, allocations: 1.918 MB / 347.5 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.1607, allocations: 0.8946 MB / 348.4 MB, free: 204 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.1625, allocations: 1.26 MB / 349.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002322/0.1627, allocations: 136 kB / 349.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006404/0.1634, allocations: 243.8 kB / 350 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007582/0.1641, allocations: 0.6852 MB / 350.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.1654, allocations: 1.202 MB / 351.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003714/0.1692, allocations: 3.877 MB / 355.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1692, allocations: 0 / 355.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1692, allocations: 0 / 355.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.893e-05/0.1693, allocations: 0 / 355.8 MB, free: 8.77 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.005447/0.1747, allocations: 2.468 MB / 358.2 MB, free: 6.238 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1748, allocations: 8.031 kB / 358.3 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007511/0.1755, allocations: 285.7 kB / 358.5 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.1784, allocations: 1.429 MB / 360 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.1786, allocations: 180.5 kB / 360.1 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004291/0.1791, allocations: 207.9 kB / 360.3 MB, free: 4.078 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005225/0.1843, allocations: 2.807 MB / 363.1 MB, free: 1.184 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.137e-05/0.1844, allocations: 7.906 kB / 363.2 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.1846, allocations: 87.98 kB / 363.2 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.1847, allocations: 108.2 kB / 363.3 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004256/0.189, allocations: 2.37 MB / 365.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01433/0.2033, allocations: 8.628 MB / 374.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/0.2061, allocations: 1.735 MB / 376.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/0.2079, allocations: 0.983 MB / 377.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/0.2082, allocations: 199.2 kB / 377.3 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.2083, allocations: 47.5 kB / 377.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=101): time 2.685e-06/0.2083, allocations: 0 / 377.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.2064/0.4147, allocations: 6.206 MB / 383.5 MB, free: 39.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.4148, allocations: 66.92 kB / 383.6 MB, free: 39.4 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00305/0.4179, allocations: 1.438 MB / 385 MB, free: 39.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.418, allocations: 45.39 kB / 385.1 MB, free: 39.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009845/0.419, allocations: 1.036 MB / 386.1 MB, free: 38.72 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003501/0.4193, allocations: 417.3 kB / 386.5 MB, free: 38.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.4195, allocations: 116.1 kB / 386.6 MB, free: 38.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4197, allocations: 364.7 kB / 387 MB, free: 38.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.421, allocations: 0.6924 MB / 387.7 MB, free: 38.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.4224, allocations: 1.083 MB / 388.7 MB, free: 37.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/0.4252, allocations: 1.882 MB / 390.6 MB, free: 37.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.4253, allocations: 2.938 kB / 390.6 MB, free: 37.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004198/0.4295, allocations: 2.434 MB / 393.1 MB, free: 36.12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.4295, allocations: 9.25 kB / 393.1 MB, free: 36.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.4295, allocations: 9.969 kB / 393.1 MB, free: 36.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009091/0.4304, allocations: 418.4 kB / 393.5 MB, free: 36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.4316, allocations: 330.9 kB / 393.8 MB, free: 35.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00554/0.4372, allocations: 6.472 MB / 400.3 MB, free: 30.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.4386, allocations: 102.1 kB / 400.4 MB, free: 30.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.419e-05/0.4387, allocations: 58.72 kB / 400.4 MB, free: 30.95 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001202/0.4399, allocations: 0.696 MB / 401.1 MB, free: 30.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/0.4402, allocations: 157.1 kB / 401.3 MB, free: 30.49 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/0.4435, allocations: 2.141 MB / 403.4 MB, free: 29.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.4435, allocations: 15.59 kB / 403.4 MB, free: 29.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.4436, allocations: 2.719 kB / 403.5 MB, free: 29.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.4436, allocations: 7.734 kB / 403.5 MB, free: 29.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006369/0.4499, allocations: 4.597 MB / 408.1 MB, free: 27.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.45, allocations: 8.094 kB / 408.1 MB, free: 27.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007971/0.4508, allocations: 220.7 kB / 408.3 MB, free: 26.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009648/0.4518, allocations: 452.9 kB / 408.7 MB, free: 26.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.472e-05/0.4518, allocations: 36.98 kB / 408.8 MB, free: 26.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00567/0.4575, allocations: 7.921 MB / 416.7 MB, free: 17.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4576, allocations: 4.047 kB / 416.7 MB, free: 17.99 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004374/0.4619, allocations: 3.142 MB / 419.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009268/0.4629, allocations: 394.9 kB / 420.2 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.4631, allocations: 31.94 kB / 420.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008508/0.4639, allocations: 87.91 kB / 420.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.4642, allocations: 100.3 kB / 420.4 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.795e-05/0.4643, allocations: 32 kB / 420.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001292/0.4656, allocations: 0.9886 MB / 421.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.4656, allocations: 4 kB / 421.4 MB, free: 13.13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001696/0.4673, allocations: 459.8 kB / 421.9 MB, free: 12.69 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[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 (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000359/0.4676, allocations: 196.6 kB / 422.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003231/0.4709, allocations: 2.238 MB / 424.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4709, allocations: 0 / 424.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.4729, allocations: 1.449 MB / 425.8 MB, free: 8.777 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/0.4756, allocations: 399.5 kB / 426.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006873/0.4825, allocations: 5.565 MB / 431.7 MB, free: 2.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.4838, allocations: 1.811 MB / 433.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001275/0.4851, allocations: 362.8 kB / 433.9 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.4854, allocations: 115.4 kB / 434 MB, free: 472 kB / 318.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4855, allocations: 0 / 434 MB, free: 472 kB / 318.1 MB Notification: Performance of Templates: time 0.04376/0.5292, allocations: 23.02 MB / 457 MB, free: 9.473 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches