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.001162/0.001162, allocations: 93.25 kB / 17.3 MB, free: 6.391 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.001305/0.001305, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.989/1.989, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005385/0.0005385, allocations: 12.52 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1232, allocations: 47.59 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.009876/0.1331, allocations: 8.232 MB / 337.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006932/0.1401, allocations: 2.829 MB / 340 MB, free: 8.641 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.1416, allocations: 39.81 kB / 340.1 MB, free: 8.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.1433, allocations: 0.5247 MB / 340.6 MB, free: 8.074 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.1457, allocations: 0.6333 MB / 341.2 MB, free: 7.438 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007967/0.1465, allocations: 291.6 kB / 341.5 MB, free: 7.152 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003002/0.1495, allocations: 2.569 MB / 344.1 MB, free: 4.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.1513, allocations: 1.394 MB / 345.5 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.1528, allocations: 0.7856 MB / 346.3 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.1544, allocations: 1.105 MB / 347.4 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.1547, allocations: 120 kB / 347.5 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005942/0.1553, allocations: 223.8 kB / 347.7 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006525/0.1559, allocations: 0.5879 MB / 348.3 MB, free: 316 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.157, allocations: 1.035 MB / 349.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003033/0.1601, allocations: 3.301 MB / 352.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1601, allocations: 0 / 352.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1601, allocations: 0 / 352.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.887e-05/0.1602, allocations: 0 / 352.6 MB, free: 11.95 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.004591/0.1648, allocations: 2.119 MB / 354.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.1648, allocations: 8.031 kB / 354.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000715/0.1655, allocations: 258.2 kB / 355 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.1677, allocations: 1.22 MB / 356.2 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.1678, allocations: 131.9 kB / 356.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/0.1681, allocations: 188 kB / 356.5 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004335/0.1725, allocations: 2.374 MB / 358.9 MB, free: 5.523 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.097e-05/0.1725, allocations: 4 kB / 358.9 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.1727, allocations: 75.98 kB / 359 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.1728, allocations: 87.52 kB / 359.1 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003653/0.1765, allocations: 1.985 MB / 361.1 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/0.188, allocations: 7.175 MB / 368.2 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.1899, allocations: 1.287 MB / 369.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.1915, allocations: 0.8705 MB / 370.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.1918, allocations: 126.1 kB / 370.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.1918, allocations: 51.5 kB / 370.6 MB, free: 9.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.206e-06/0.1918, allocations: 0 / 370.6 MB, free: 9.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01431/0.2062, allocations: 5.998 MB / 376.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.2063, allocations: 68.39 kB / 376.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.2084, allocations: 1.207 MB / 377.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.2085, allocations: 45.7 kB / 377.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006309/0.2092, allocations: 0.8652 MB / 378.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.2095, allocations: 366.7 kB / 379.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.2096, allocations: 97.67 kB / 379.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2098, allocations: 361.9 kB / 379.5 MB, free: 400 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.231/0.4408, allocations: 0.6164 MB / 380.2 MB, free: 50.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.4424, allocations: 0.9324 MB / 381.1 MB, free: 50.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002721/0.4451, allocations: 1.659 MB / 382.8 MB, free: 50.08 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.4451, allocations: 3.312 kB / 382.8 MB, free: 50.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004095/0.4492, allocations: 2.246 MB / 385 MB, free: 49.35 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.4493, allocations: 9.406 kB / 385 MB, free: 49.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.4493, allocations: 10.38 kB / 385 MB, free: 49.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.4505, allocations: 477 kB / 385.5 MB, free: 49.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.4516, allocations: 271.1 kB / 385.8 MB, free: 49.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006141/0.4577, allocations: 6.44 MB / 392.2 MB, free: 44.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.4592, allocations: 85.33 kB / 392.3 MB, free: 44.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.4593, allocations: 50.77 kB / 392.3 MB, free: 44.16 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.00129/0.4606, allocations: 0.6006 MB / 392.9 MB, free: 43.81 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/0.4609, allocations: 137.2 kB / 393.1 MB, free: 43.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003694/0.4646, allocations: 2.036 MB / 395.1 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.4647, allocations: 9.719 kB / 395.1 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.4647, allocations: 8.562 kB / 395.1 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.4647, allocations: 7.406 kB / 395.1 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00653/0.4712, allocations: 4.239 MB / 399.4 MB, free: 41.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.4713, allocations: 3.844 kB / 399.4 MB, free: 41.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/0.472, allocations: 178.7 kB / 399.5 MB, free: 41.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.4732, allocations: 0.5337 MB / 400.1 MB, free: 40.9 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.22e-05/0.4733, allocations: 31.16 kB / 400.1 MB, free: 40.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006175/0.4794, allocations: 7.912 MB / 408 MB, free: 34.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.4795, allocations: 7.844 kB / 408 MB, free: 34.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004236/0.4837, allocations: 2.968 MB / 411 MB, free: 31.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.4849, allocations: 351.2 kB / 411.3 MB, free: 30.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.4851, allocations: 31.98 kB / 411.4 MB, free: 30.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007907/0.4859, allocations: 77.05 kB / 411.4 MB, free: 30.85 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003621/0.4863, allocations: 92.75 kB / 411.5 MB, free: 30.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/0.4863, allocations: 32 kB / 411.6 MB, free: 30.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001561/0.4879, allocations: 0.8421 MB / 412.4 MB, free: 29.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4879, allocations: 3.719 kB / 412.4 MB, free: 29.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002364/0.4903, allocations: 411.9 kB / 412.8 MB, free: 29.48 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.0005666/0.4909, allocations: 183.4 kB / 413 MB, free: 29.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003925/0.4948, allocations: 2.168 MB / 415.2 MB, free: 27.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.4949, allocations: 0.6875 kB / 415.2 MB, free: 27.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.4966, allocations: 1.498 MB / 416.7 MB, free: 25.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/0.4997, allocations: 367.8 kB / 417 MB, free: 25.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006389/0.5061, allocations: 4.887 MB / 421.9 MB, free: 20.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.5072, allocations: 1.634 MB / 423.5 MB, free: 18.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001057/0.5083, allocations: 295.8 kB / 423.8 MB, free: 18.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.5086, allocations: 95.42 kB / 423.9 MB, free: 18.11 MB / 318.1 MB Notification: Performance of SimCode: time 1.383e-06/0.5086, allocations: 0 / 423.9 MB, free: 18.11 MB / 318.1 MB Notification: Performance of Templates: time 0.03429/0.5429, allocations: 21.09 MB / 445 MB, free: 13.02 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 -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/jenkins/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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches