Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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_YD,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009678/0.0009678, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000842/0.0008421, allocations: 82.72 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.656e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07578/0.07581, allocations: 47.59 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3209/0.3968, allocations: 104.3 MB / 467.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.397, allocations: 86.94 kB / 467.4 MB, free: 7.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1277/0.5248, allocations: 48.45 MB / 0.5038 GB, free: 12.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.5248, allocations: 4 kB / 0.5038 GB, free: 12.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003456/0.5252, allocations: 67.88 kB / 0.5039 GB, free: 12.46 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.008162/0.5334, allocations: 2.464 MB / 0.5063 GB, free: 9.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.5334, allocations: 8.031 kB / 0.5063 GB, free: 9.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.5351, allocations: 324.4 kB / 0.5066 GB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004076/0.5392, allocations: 1.729 MB / 0.5083 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.5393, allocations: 80 kB / 0.5084 GB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007043/0.54, allocations: 139.9 kB / 0.5085 GB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005014/0.5451, allocations: 2.387 MB / 0.5108 GB, free: 5.215 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005058/0.5501, allocations: 2.754 MB / 0.5135 GB, free: 2.312 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.664e-05/0.5502, allocations: 15.84 kB / 0.5135 GB, free: 2.297 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.5504, allocations: 4 kB / 0.5135 GB, free: 2.293 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.532e-05/0.5505, allocations: 92.44 kB / 0.5136 GB, free: 2.199 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/0.5646, allocations: 9.48 MB / 0.5229 GB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.5668, allocations: 2.031 MB / 0.5249 GB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.5683, allocations: 1.048 MB / 0.5259 GB, free: 5.277 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/0.5686, allocations: 142.3 kB / 0.526 GB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.5687, allocations: 47.88 kB / 0.5261 GB, free: 5.066 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 4.479e-06/0.5687, allocations: 4 kB / 0.5261 GB, free: 5.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.194/0.7627, allocations: 5.319 MB / 0.5313 GB, free: 103.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.7628, allocations: 66.47 kB / 0.5313 GB, free: 103 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.765, allocations: 1.211 MB / 0.5325 GB, free: 102.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003069/0.7653, allocations: 28.14 kB / 0.5325 GB, free: 102.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006657/0.766, allocations: 1.079 MB / 0.5336 GB, free: 102.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000376/0.7664, allocations: 477.8 kB / 0.534 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.208e-05/0.7664, allocations: 0 / 0.534 GB, free: 102.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.7665, allocations: 366.3 kB / 0.5344 GB, free: 102.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.7677, allocations: 0.8288 MB / 0.5352 GB, free: 102.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.769, allocations: 1.139 MB / 0.5363 GB, free: 101.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.7706, allocations: 0.9772 MB / 0.5373 GB, free: 101.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.7706, allocations: 2.094 kB / 0.5373 GB, free: 101.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004995/0.7756, allocations: 2.757 MB / 0.54 GB, free: 101.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.7757, allocations: 8.25 kB / 0.54 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.7757, allocations: 12.66 kB / 0.54 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.7776, allocations: 0.8077 MB / 0.5408 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.7788, allocations: 315.9 kB / 0.5411 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009296/0.7881, allocations: 8.71 MB / 0.5496 GB, free: 97.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.7897, allocations: 68.98 kB / 0.5496 GB, free: 97.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.7899, allocations: 61.61 kB / 0.5497 GB, free: 97.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003015/0.7902, allocations: 147.7 kB / 0.5498 GB, free: 97.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.7904, allocations: 171 kB / 0.55 GB, free: 97.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003999/0.7945, allocations: 2.638 MB / 0.5526 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.7945, allocations: 11.28 kB / 0.5526 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.7945, allocations: 11.38 kB / 0.5526 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.7945, allocations: 8.625 kB / 0.5526 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007525/0.802, allocations: 5.161 MB / 0.5577 GB, free: 96.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.8021, allocations: 2.75 kB / 0.5577 GB, free: 96.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000874/0.803, allocations: 213.8 kB / 0.5579 GB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001893/0.8049, allocations: 0.8569 MB / 0.5587 GB, free: 96.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.805, allocations: 14.23 kB / 0.5587 GB, free: 96.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008265/0.8133, allocations: 10.19 MB / 0.5687 GB, free: 89.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.8133, allocations: 12.34 kB / 0.5687 GB, free: 89.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005174/0.8185, allocations: 4.053 MB / 0.5726 GB, free: 87.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009773/0.8195, allocations: 450.7 kB / 0.5731 GB, free: 87.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/0.8198, allocations: 7.438 kB / 0.5731 GB, free: 87.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008996/0.8207, allocations: 67.94 kB / 0.5731 GB, free: 87.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003667/0.8211, allocations: 156 kB / 0.5733 GB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-05/0.8212, allocations: 44.19 kB / 0.5733 GB, free: 87.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001202/0.8224, allocations: 0.9117 MB / 0.5742 GB, free: 86.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8224, allocations: 0 / 0.5742 GB, free: 86.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001958/0.8244, allocations: 0.5109 MB / 0.5747 GB, free: 86.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000486/0.8248, allocations: 288.9 kB / 0.575 GB, free: 86.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00333/0.8282, allocations: 2.786 MB / 0.5777 GB, free: 85.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.8282, allocations: 0 / 0.5777 GB, free: 85.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002213/0.8304, allocations: 1.922 MB / 0.5796 GB, free: 84.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/0.8325, allocations: 387 kB / 0.58 GB, free: 84.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005846/0.8384, allocations: 4.153 MB / 0.584 GB, free: 82.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.8397, allocations: 2.07 MB / 0.586 GB, free: 81.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001158/0.8408, allocations: 383.1 kB / 0.5864 GB, free: 81.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.8411, allocations: 107.2 kB / 0.5865 GB, free: 81.65 MB / 410.7 MB Notification: Performance of SimCode: time 1.803e-06/0.8412, allocations: 0 / 0.5865 GB, free: 81.65 MB / 410.7 MB Notification: Performance of Templates: time 0.03716/0.8783, allocations: 26.65 MB / 0.6125 GB, free: 69.5 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_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_YD/AIMC_YD.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches