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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008208/0.0008209, allocations: 90.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.496e-05, allocations: 0 / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.0948, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3319/0.4268, allocations: 111.6 MB / 481.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.427, allocations: 88.58 kB / 481.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4422/0.8692, allocations: 93.41 MB / 0.5617 GB, free: 89.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.8692, allocations: 0 / 0.5617 GB, free: 89.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002591/0.8695, allocations: 97.61 kB / 0.5618 GB, free: 89.63 MB / 410.7 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.00663/0.8761, allocations: 3.543 MB / 0.5652 GB, free: 88.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.8762, allocations: 9.797 kB / 0.5653 GB, free: 88.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.8775, allocations: 0.5043 MB / 0.5657 GB, free: 87.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004426/0.882, allocations: 2.544 MB / 0.5682 GB, free: 87.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.8822, allocations: 265.3 kB / 0.5685 GB, free: 87.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005264/0.8827, allocations: 348.6 kB / 0.5688 GB, free: 87.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006802/0.8895, allocations: 4.85 MB / 0.5735 GB, free: 86.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-05/0.8896, allocations: 6.406 kB / 0.5736 GB, free: 86.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003241/0.8899, allocations: 153 kB / 0.5737 GB, free: 86.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.8901, allocations: 183 kB / 0.5739 GB, free: 86.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0052/0.8953, allocations: 3.91 MB / 0.5777 GB, free: 85.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0175/0.9128, allocations: 14.95 MB / 0.5923 GB, free: 77.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/0.916, allocations: 4.157 MB / 0.5963 GB, free: 74.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.9181, allocations: 1.837 MB / 0.5981 GB, free: 73.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.9184, allocations: 142.7 kB / 0.5983 GB, free: 73.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.9184, allocations: 60.09 kB / 0.5983 GB, free: 73.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 3.907e-06/0.9185, allocations: 0 / 0.5983 GB, free: 73.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.01384/0.9323, allocations: 8.335 MB / 0.6065 GB, free: 70.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.9324, allocations: 77.41 kB / 0.6066 GB, free: 69.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.9348, allocations: 2.18 MB / 0.6087 GB, free: 67.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.935, allocations: 65.7 kB / 0.6087 GB, free: 67.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007077/0.9357, allocations: 1.602 MB / 0.6103 GB, free: 66.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003626/0.936, allocations: 0.7414 MB / 0.611 GB, free: 65.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.9362, allocations: 44 kB / 0.6111 GB, free: 65.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.9363, allocations: 398.2 kB / 0.6115 GB, free: 65.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.9377, allocations: 1.239 MB / 0.6127 GB, free: 64.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.9393, allocations: 1.665 MB / 0.6143 GB, free: 62.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.941, allocations: 1.491 MB / 0.6157 GB, free: 61.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.941, allocations: 0 / 0.6157 GB, free: 61.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.004981/0.946, allocations: 3.912 MB / 0.6196 GB, free: 57.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.946, allocations: 11.89 kB / 0.6196 GB, free: 57.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.946, allocations: 12 kB / 0.6196 GB, free: 57.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.9476, allocations: 0.7616 MB / 0.6203 GB, free: 57.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.9495, allocations: 0.5313 MB / 0.6208 GB, free: 56.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00725/0.9568, allocations: 8.71 MB / 0.6294 GB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.9584, allocations: 118 kB / 0.6295 GB, free: 48.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.9585, allocations: 91.64 kB / 0.6296 GB, free: 48.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003172/0.9589, allocations: 232.8 kB / 0.6298 GB, free: 48.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003426/0.9592, allocations: 276.5 kB / 0.63 GB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004911/0.9641, allocations: 3.634 MB / 0.6336 GB, free: 44.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.9642, allocations: 27.95 kB / 0.6336 GB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.9642, allocations: 8 kB / 0.6336 GB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.9642, allocations: 16.97 kB / 0.6336 GB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.9746, allocations: 7.941 MB / 0.6414 GB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.9747, allocations: 4 kB / 0.6414 GB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/0.9762, allocations: 391.8 kB / 0.6418 GB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.978, allocations: 0.8198 MB / 0.6426 GB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/0.9782, allocations: 55.91 kB / 0.6426 GB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008101/0.9863, allocations: 10.21 MB / 0.6526 GB, free: 25.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9863, allocations: 3.938 kB / 0.6526 GB, free: 25.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006412/0.9927, allocations: 5.622 MB / 0.6581 GB, free: 19.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.9939, allocations: 0.642 MB / 0.6587 GB, free: 18.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/0.9943, allocations: 51.95 kB / 0.6588 GB, free: 18.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.9955, allocations: 123.9 kB / 0.6589 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/0.9959, allocations: 181.7 kB / 0.6591 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.996, allocations: 63.98 kB / 0.6591 GB, free: 18.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002033/0.9981, allocations: 1.679 MB / 0.6608 GB, free: 16.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.9981, allocations: 3.938 kB / 0.6608 GB, free: 16.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002046/1, allocations: 0.8282 MB / 0.6616 GB, free: 15.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004936/1.001, allocations: 377.2 kB / 0.6619 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004336/1.005, allocations: 3.774 MB / 0.6656 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.005, allocations: 7.938 kB / 0.6656 GB, free: 11.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002835/1.008, allocations: 2.443 MB / 0.668 GB, free: 9.137 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/1.01, allocations: 0.7473 MB / 0.6687 GB, free: 8.418 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008555/1.019, allocations: 6.436 MB / 0.675 GB, free: 1.977 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/1.021, allocations: 2.847 MB / 0.6778 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002242/1.023, allocations: 0.6732 MB / 0.6785 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005621/1.024, allocations: 179.4 kB / 0.6786 GB, free: 14.27 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/1.024, allocations: 0 / 0.6786 GB, free: 14.27 MB / 426.7 MB Notification: Performance of Templates: time 0.2723/1.296, allocations: 46.62 MB / 0.7242 GB, free: 90.94 MB / 426.7 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","../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