Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.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_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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001117/0.001117, allocations: 191 kB / 19.29 MB, free: 3.848 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.801/1.801, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001255/0.001255, allocations: 51.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01225/0.1395, allocations: 8.789 MB / 337.5 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007126/0.1467, allocations: 2.875 MB / 340.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.1483, allocations: 43.81 kB / 340.4 MB, free: 7.988 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.1501, allocations: 0.5977 MB / 341 MB, free: 7.387 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.1527, allocations: 0.7183 MB / 341.8 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008822/0.1536, allocations: 323.5 kB / 342.1 MB, free: 6.348 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002977/0.1566, allocations: 2.241 MB / 344.3 MB, free: 4.094 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/0.1586, allocations: 1.706 MB / 346 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.1605, allocations: 1.005 MB / 347 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.1623, allocations: 1.288 MB / 348.3 MB, free: 44 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004049/0.1627, allocations: 268 kB / 348.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007239/0.1635, allocations: 355.8 kB / 348.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007706/0.1643, allocations: 0.7675 MB / 349.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.1657, allocations: 1.206 MB / 350.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003534/0.1692, allocations: 3.52 MB / 354.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1692, allocations: 0 / 354.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1692, allocations: 0 / 354.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.371e-05/0.1693, allocations: 0 / 354.4 MB, free: 9.922 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005908/0.1752, allocations: 2.489 MB / 356.9 MB, free: 7.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.1753, allocations: 8.031 kB / 356.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000712/0.176, allocations: 242.3 kB / 357.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/0.1784, allocations: 1.235 MB / 358.4 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.1785, allocations: 139.9 kB / 358.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/0.1788, allocations: 180 kB / 358.7 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003797/0.1826, allocations: 2.371 MB / 361.1 MB, free: 3.129 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.858e-05/0.1827, allocations: 4 kB / 361.1 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.1828, allocations: 75.98 kB / 361.1 MB, free: 3.051 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.1829, allocations: 91.5 kB / 361.2 MB, free: 2.961 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/0.1862, allocations: 1.962 MB / 363.2 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.198, allocations: 7.066 MB / 370.3 MB, free: 9.738 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.1999, allocations: 1.269 MB / 371.5 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.2015, allocations: 0.8698 MB / 372.4 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/0.2018, allocations: 122 kB / 372.5 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.2019, allocations: 39.56 kB / 372.6 MB, free: 7.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 6.963e-06/0.2019, allocations: 3.984 kB / 372.6 MB, free: 7.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.0141/0.216, allocations: 5.901 MB / 378.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.2162, allocations: 60.41 kB / 378.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.2186, allocations: 1.215 MB / 379.7 MB, free: 12 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.304/0.5226, allocations: 41.61 kB / 379.8 MB, free: 52.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001386/0.5241, allocations: 0.8614 MB / 380.6 MB, free: 52.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006722/0.5248, allocations: 370 kB / 381 MB, free: 51.94 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006444/0.5254, allocations: 218.3 kB / 381.2 MB, free: 51.92 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.5256, allocations: 359.7 kB / 381.6 MB, free: 51.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.5272, allocations: 0.6136 MB / 382.2 MB, free: 51.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.5291, allocations: 0.9205 MB / 383.1 MB, free: 50.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/0.5323, allocations: 1.643 MB / 384.7 MB, free: 49.99 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/0.5323, allocations: 5.641 kB / 384.7 MB, free: 49.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005825/0.5381, allocations: 2.219 MB / 387 MB, free: 49.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.704e-05/0.5382, allocations: 9.656 kB / 387 MB, free: 49.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.387e-05/0.5383, allocations: 9.406 kB / 387 MB, free: 49.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.54, allocations: 483.3 kB / 387.5 MB, free: 48.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.5413, allocations: 268.5 kB / 387.7 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009564/0.5509, allocations: 7.018 MB / 394.7 MB, free: 43.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.5531, allocations: 75.94 kB / 394.8 MB, free: 43.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/0.5533, allocations: 51.86 kB / 394.9 MB, free: 43.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,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.002035/0.5554, allocations: 0.5966 MB / 395.5 MB, free: 43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005786/0.556, allocations: 138.4 kB / 395.6 MB, free: 42.92 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004048/0.56, allocations: 2.021 MB / 397.6 MB, free: 42.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.5601, allocations: 11.94 kB / 397.6 MB, free: 42.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.5601, allocations: 4.812 kB / 397.6 MB, free: 42.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.5601, allocations: 11.62 kB / 397.6 MB, free: 42.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007513/0.5676, allocations: 4.209 MB / 401.9 MB, free: 40.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.5677, allocations: 7.75 kB / 401.9 MB, free: 40.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006901/0.5684, allocations: 185.6 kB / 402 MB, free: 40.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.5695, allocations: 0.5227 MB / 402.6 MB, free: 39.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.532e-05/0.5696, allocations: 30.48 kB / 402.6 MB, free: 39.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006237/0.5759, allocations: 8.615 MB / 411.2 MB, free: 31.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.5759, allocations: 12.05 kB / 411.2 MB, free: 31.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003925/0.5798, allocations: 2.941 MB / 414.2 MB, free: 28.88 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008689/0.5807, allocations: 347.3 kB / 414.5 MB, free: 28.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.5809, allocations: 35.28 kB / 414.5 MB, free: 28.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007619/0.5817, allocations: 71.92 kB / 414.6 MB, free: 28.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/0.5819, allocations: 92.75 kB / 414.7 MB, free: 28.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.494e-05/0.582, allocations: 35.98 kB / 414.7 MB, free: 28.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001024/0.583, allocations: 0.8343 MB / 415.6 MB, free: 27.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.583, allocations: 0 / 415.6 MB, free: 27.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001681/0.5847, allocations: 408 kB / 416 MB, free: 27.05 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (89): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,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.0003918/0.5851, allocations: 189.5 kB / 416.1 MB, free: 26.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00316/0.5883, allocations: 2.154 MB / 418.3 MB, free: 24.63 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.5883, allocations: 4 kB / 418.3 MB, free: 24.63 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.5902, allocations: 1.486 MB / 419.8 MB, free: 23.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.592, allocations: 380.3 kB / 420.2 MB, free: 22.72 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007035/0.5991, allocations: 3.911 MB / 424.1 MB, free: 18.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.6004, allocations: 1.63 MB / 425.7 MB, free: 17.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009485/0.6014, allocations: 307 kB / 426 MB, free: 16.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.6016, allocations: 95.42 kB / 426.1 MB, free: 16.7 MB / 318.1 MB Notification: Performance of SimCode: time 1.283e-06/0.6016, allocations: 0 / 426.1 MB, free: 16.7 MB / 318.1 MB Notification: Performance of Templates: time 0.03846/0.6401, allocations: 22.27 MB / 448.4 MB, free: 10.42 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches