Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 109.4 kB / 18.34 MB, free: 4.73 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.001636/0.001637, allocations: 192.1 kB / 19.28 MB, free: 3.797 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.776/1.776, 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.001272/0.001272, allocations: 51.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1298, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.0121/0.1419, allocations: 9.611 MB / 338.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007797/0.1498, allocations: 3.476 MB / 341.8 MB, free: 6.602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.1519, allocations: 43.81 kB / 341.9 MB, free: 6.559 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.1541, allocations: 0.6676 MB / 342.5 MB, free: 5.887 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.1576, allocations: 0.8232 MB / 343.3 MB, free: 5.059 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.1591, allocations: 459.2 kB / 343.8 MB, free: 4.609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004512/0.1636, allocations: 2.678 MB / 346.5 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002422/0.1661, allocations: 1.822 MB / 348.3 MB, free: 52 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.1683, allocations: 1.176 MB / 349.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002552/0.1708, allocations: 1.502 MB / 351 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005428/0.1714, allocations: 308 kB / 351.3 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.1728, allocations: 0.5542 MB / 351.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.1741, allocations: 1.021 MB / 352.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002004/0.1761, allocations: 1.493 MB / 354.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00529/0.1814, allocations: 4.287 MB / 358.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.1815, allocations: 0 / 358.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.19e-06/0.1815, allocations: 0 / 358.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001433/0.1816, allocations: 4 kB / 358.6 MB, free: 5.68 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008318/0.19, allocations: 3.157 MB / 361.8 MB, free: 2.453 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/0.19, allocations: 8.031 kB / 361.8 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.1912, allocations: 325.2 kB / 362.1 MB, free: 2.125 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003682/0.1949, allocations: 1.6 MB / 363.7 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.195, allocations: 156 kB / 363.9 MB, free: 324 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003326/0.1953, allocations: 211.9 kB / 364.1 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005549/0.2009, allocations: 2.694 MB / 366.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-05/0.201, allocations: 0 / 366.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/0.2012, allocations: 84 kB / 366.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/0.2014, allocations: 91.94 kB / 366.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004374/0.2057, allocations: 2.283 MB / 369.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01494/0.2207, allocations: 8.138 MB / 377.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.2238, allocations: 1.624 MB / 379 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2139/0.4378, allocations: 1.086 MB / 380.1 MB, free: 51.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000468/0.4383, allocations: 122.7 kB / 380.2 MB, free: 51.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.4384, allocations: 54.7 kB / 380.2 MB, free: 51.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.957e-06/0.4384, allocations: 0 / 380.2 MB, free: 51.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01508/0.4535, allocations: 6.204 MB / 386.4 MB, free: 49.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.4536, allocations: 65.7 kB / 386.5 MB, free: 49.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004577/0.4582, allocations: 2.159 MB / 388.7 MB, free: 48.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002094/0.4584, allocations: 50.33 kB / 388.7 MB, free: 48.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.4599, allocations: 1.099 MB / 389.8 MB, free: 47.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006284/0.4605, allocations: 461.2 kB / 390.3 MB, free: 47.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006143/0.4611, allocations: 239.6 kB / 390.5 MB, free: 47.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.4613, allocations: 364.3 kB / 390.9 MB, free: 47.13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.4631, allocations: 0.7612 MB / 391.6 MB, free: 46.87 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.4644, allocations: 1.011 MB / 392.6 MB, free: 46.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003078/0.4675, allocations: 1.86 MB / 394.5 MB, free: 45.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.4675, allocations: 1.562 kB / 394.5 MB, free: 45.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005222/0.4728, allocations: 2.766 MB / 397.3 MB, free: 44.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.4728, allocations: 7.938 kB / 397.3 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.4728, allocations: 7.625 kB / 397.3 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/0.4748, allocations: 0.7854 MB / 398.1 MB, free: 44.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.4759, allocations: 275 kB / 398.3 MB, free: 44.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009826/0.4857, allocations: 9.597 MB / 407.9 MB, free: 35.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.4875, allocations: 90.64 kB / 408 MB, free: 35.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.4877, allocations: 51.98 kB / 408.1 MB, free: 35.36 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001419/0.4891, allocations: 0.7487 MB / 408.8 MB, free: 34.6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004783/0.4896, allocations: 197.6 kB / 409 MB, free: 34.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004014/0.4936, allocations: 2.484 MB / 411.5 MB, free: 31.9 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.789e-05/0.4936, allocations: 19.94 kB / 411.5 MB, free: 31.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.4937, allocations: 4 kB / 411.5 MB, free: 31.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.4937, allocations: 11.97 kB / 411.5 MB, free: 31.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007905/0.5016, allocations: 4.931 MB / 416.5 MB, free: 26.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.5016, allocations: 4 kB / 416.5 MB, free: 26.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009677/0.5026, allocations: 221 kB / 416.7 MB, free: 26.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001569/0.5042, allocations: 0.6496 MB / 417.3 MB, free: 26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.5043, allocations: 35.36 kB / 417.4 MB, free: 25.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007354/0.5117, allocations: 8.692 MB / 426 MB, free: 16.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5117, allocations: 7.969 kB / 426.1 MB, free: 16.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005283/0.517, allocations: 3.532 MB / 429.6 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/0.5185, allocations: 438.5 kB / 430 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/0.5188, allocations: 31.98 kB / 430 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.5198, allocations: 87.47 kB / 430.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003681/0.5202, allocations: 104.8 kB / 430.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.5203, allocations: 43.97 kB / 430.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001916/0.5222, allocations: 1.512 MB / 431.8 MB, free: 11.06 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5222, allocations: 1.688 kB / 431.8 MB, free: 11.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002159/0.5244, allocations: 0.5221 MB / 432.3 MB, free: 10.54 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * 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 {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001192/0.5256, allocations: 479.1 kB / 432.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003799/0.5294, allocations: 2.378 MB / 435.2 MB, free: 7.723 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5294, allocations: 0 / 435.2 MB, free: 7.723 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002228/0.5316, allocations: 1.597 MB / 436.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.5338, allocations: 454.1 kB / 437.2 MB, free: 5.621 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00851/0.5423, allocations: 5.113 MB / 442.3 MB, free: 496 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001912/0.5443, allocations: 1.957 MB / 444.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001359/0.5457, allocations: 379.7 kB / 444.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/0.5461, allocations: 135.4 kB / 444.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of SimCode: time 2.225e-06/0.5461, allocations: 0 / 444.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of Templates: time 0.0605/0.6066, allocations: 30.12 MB / 474.9 MB, free: 15.84 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_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_withLosses/AIMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches