Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001757/0.001757, allocations: 192 kB / 18.51 MB, free: 4.508 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.762/1.762, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001246/0.001246, allocations: 56.39 kB / 280.6 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1145, allocations: 46.63 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01524/0.1298, allocations: 12.81 MB / 340.1 MB, free: 7.602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009036/0.1389, allocations: 4.246 MB / 344.3 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.1412, allocations: 67.69 kB / 344.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00275/0.144, allocations: 0.9626 MB / 345.4 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003862/0.1479, allocations: 1.176 MB / 346.5 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.1495, allocations: 0.5266 MB / 347.1 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006579/0.156, allocations: 4.653 MB / 351.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0055/0.1616, allocations: 3.602 MB / 355.3 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006365/0.168, allocations: 2.121 MB / 357.4 MB, free: 6.133 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006469/0.1745, allocations: 2.553 MB / 360 MB, free: 3.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003014/0.1776, allocations: 0.5547 MB / 360.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/0.1811, allocations: 0.6522 MB / 361.2 MB, free: 2.363 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00369/0.1848, allocations: 1.516 MB / 362.7 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00677/0.1916, allocations: 2.485 MB / 365.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.2023, allocations: 7.345 MB / 372.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.2024, allocations: 0 / 372.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.2024, allocations: 4 kB / 372.6 MB, free: 6.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002827/0.2027, allocations: 3.938 kB / 372.6 MB, free: 6.973 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01262/0.2153, allocations: 4.675 MB / 377.2 MB, free: 2.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.2154, allocations: 12.03 kB / 377.2 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.217, allocations: 0.5033 MB / 377.8 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2435/0.4606, allocations: 2.375 MB / 380.1 MB, free: 49.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003067/0.4609, allocations: 264.5 kB / 380.4 MB, free: 49.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.4624, allocations: 351.8 kB / 380.7 MB, free: 49.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/0.477, allocations: 5.022 MB / 385.8 MB, free: 47.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.4772, allocations: 8.547 kB / 385.8 MB, free: 47.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004061/0.4776, allocations: 143.1 kB / 385.9 MB, free: 47.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002945/0.4779, allocations: 179.9 kB / 386.1 MB, free: 47.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.4882, allocations: 4.299 MB / 390.4 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02495/0.5132, allocations: 14.91 MB / 405.3 MB, free: 35.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003421/0.5167, allocations: 4.198 MB / 409.5 MB, free: 31.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002458/0.5192, allocations: 1.987 MB / 411.5 MB, free: 29.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002531/0.5194, allocations: 135 kB / 411.6 MB, free: 29.31 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.5195, allocations: 60.5 kB / 411.7 MB, free: 29.24 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 4.388e-06/0.5195, allocations: 0 / 411.7 MB, free: 29.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01835/0.5379, allocations: 10.01 MB / 421.7 MB, free: 19.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.538, allocations: 78.5 kB / 421.7 MB, free: 19.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003985/0.5419, allocations: 2.506 MB / 424.3 MB, free: 16.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006198/0.5426, allocations: 65.7 kB / 424.3 MB, free: 16.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.5436, allocations: 1.611 MB / 425.9 MB, free: 14.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006954/0.5443, allocations: 0.7342 MB / 426.7 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005941/0.545, allocations: 416.3 kB / 427.1 MB, free: 13.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.43e-05/0.545, allocations: 305.1 kB / 427.4 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/0.5468, allocations: 1.305 MB / 428.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.5488, allocations: 1.79 MB / 430.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/0.5524, allocations: 3.216 MB / 433.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/0.5525, allocations: 2.734 kB / 433.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005905/0.5584, allocations: 4.075 MB / 437.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.5584, allocations: 12 kB / 437.8 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/0.5585, allocations: 12 kB / 437.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/0.5608, allocations: 0.8832 MB / 438.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/0.5628, allocations: 0.5332 MB / 439.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.5746, allocations: 9.492 MB / 448.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/0.5776, allocations: 111.9 kB / 448.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004984/0.5781, allocations: 91.98 kB / 448.9 MB, free: 7.047 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002878/0.581, allocations: 1.211 MB / 450.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008472/0.5818, allocations: 276.7 kB / 450.4 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00712/0.589, allocations: 3.715 MB / 454.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.589, allocations: 23.94 kB / 454.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.5891, allocations: 12 kB / 454.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/0.5891, allocations: 7.969 kB / 454.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.605, allocations: 8.103 MB / 462.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.6051, allocations: 0 / 462.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/0.6067, allocations: 383.7 kB / 462.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003296/0.61, allocations: 0.9329 MB / 463.5 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003198/0.6104, allocations: 55.98 kB / 463.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/0.6229, allocations: 11.06 MB / 474.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.623, allocations: 4 kB / 474.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009469/0.6325, allocations: 5.514 MB / 480.2 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002229/0.6348, allocations: 0.6343 MB / 480.8 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007442/0.6355, allocations: 51.98 kB / 480.9 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.6372, allocations: 115.9 kB / 481 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004961/0.6377, allocations: 177.7 kB / 481.1 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.6378, allocations: 63.98 kB / 481.2 MB, free: 5.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002949/0.6408, allocations: 1.734 MB / 482.9 MB, free: 4.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6408, allocations: 0 / 482.9 MB, free: 4.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003515/0.6443, allocations: 0.7969 MB / 483.7 MB, free: 3.418 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * 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,1,100.0%), (3,25,88.9%), (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.0007483/0.6451, allocations: 229.8 kB / 484 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01109/0.6562, allocations: 5.713 MB / 489.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/0.6562, allocations: 4 kB / 489.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004079/0.6603, allocations: 2.477 MB / 492.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/0.6647, allocations: 0.7814 MB / 492.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/0.6805, allocations: 7.817 MB / 0.489 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003583/0.6841, allocations: 2.769 MB / 0.4917 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002715/0.6869, allocations: 0.6866 MB / 0.4924 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008885/0.6878, allocations: 175.4 kB / 0.4926 GB, free: 14.54 MB / 398.1 MB Notification: Performance of SimCode: time 2.004e-06/0.6878, allocations: 0 / 0.4926 GB, free: 14.54 MB / 398.1 MB Notification: Performance of Templates: time 0.2851/0.973, allocations: 46.41 MB / 0.5379 GB, free: 117.8 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_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_Transformer/AIMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches