Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001499/0.001499, allocations: 173 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.348/1.348, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008193/0.0008193, allocations: 78.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.786e-05, allocations: 0 / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07746/0.0775, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2905/0.368, allocations: 102.6 MB / 472.6 MB, free: 7.016 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.3683, allocations: 84.98 kB / 472.7 MB, free: 6.973 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1088/0.4772, allocations: 41.07 MB / 0.5017 GB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4772, allocations: 0 / 0.5017 GB, free: 14.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001152/0.4773, allocations: 51.94 kB / 0.5018 GB, free: 14.78 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00343/0.4808, allocations: 1.988 MB / 0.5037 GB, free: 12.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.4808, allocations: 12.03 kB / 0.5037 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006412/0.4815, allocations: 261.2 kB / 0.504 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.4839, allocations: 1.404 MB / 0.5053 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.484, allocations: 131.6 kB / 0.5055 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/0.4843, allocations: 191.8 kB / 0.5057 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/0.488, allocations: 2.334 MB / 0.5079 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.128e-05/0.488, allocations: 15.83 kB / 0.5079 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.4882, allocations: 75.98 kB / 0.508 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.919e-05/0.4883, allocations: 79.5 kB / 0.5081 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/0.4913, allocations: 1.841 MB / 0.5099 GB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/0.5027, allocations: 7.491 MB / 0.5172 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.5046, allocations: 1.276 MB / 0.5185 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.5059, allocations: 0.81 MB / 0.5192 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/0.5062, allocations: 138.4 kB / 0.5194 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.5063, allocations: 43.28 kB / 0.5194 GB, free: 12.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 3.236e-06/0.5063, allocations: 0 / 0.5194 GB, free: 12.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=103): time 0.007989/0.5143, allocations: 4.098 MB / 0.5234 GB, free: 8.035 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.5144, allocations: 64.34 kB / 0.5235 GB, free: 7.957 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/0.5162, allocations: 1.184 MB / 0.5246 GB, free: 6.766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.5163, allocations: 49.69 kB / 0.5247 GB, free: 6.711 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006292/0.5169, allocations: 0.8814 MB / 0.5255 GB, free: 5.816 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/0.5172, allocations: 366.7 kB / 0.5259 GB, free: 5.453 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.5173, allocations: 24 kB / 0.5259 GB, free: 5.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5174, allocations: 349.9 kB / 0.5263 GB, free: 5.082 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000841/0.5183, allocations: 0.6039 MB / 0.5268 GB, free: 4.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.5193, allocations: 0.8987 MB / 0.5277 GB, free: 3.461 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.5204, allocations: 0.7465 MB / 0.5284 GB, free: 2.715 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5204, allocations: 4 kB / 0.5285 GB, free: 2.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004109/0.5245, allocations: 2.398 MB / 0.5308 GB, free: 300 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.5246, allocations: 8 kB / 0.5308 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.5246, allocations: 8.25 kB / 0.5308 GB, free: 284 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1788/0.7034, allocations: 0.7655 MB / 0.5316 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000978/0.7044, allocations: 236.5 kB / 0.5318 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009912/0.7144, allocations: 8.55 MB / 0.5401 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.7156, allocations: 80.83 kB / 0.5402 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.7157, allocations: 53.14 kB / 0.5403 GB, free: 104 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002196/0.716, allocations: 170.7 kB / 0.5404 GB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.7162, allocations: 148.1 kB / 0.5406 GB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003168/0.7194, allocations: 1.862 MB / 0.5424 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.7194, allocations: 13.62 kB / 0.5424 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.7194, allocations: 7.422 kB / 0.5424 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.7194, allocations: 9 kB / 0.5424 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006593/0.726, allocations: 3.96 MB / 0.5463 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.7261, allocations: 5.344 kB / 0.5463 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008428/0.7269, allocations: 201.7 kB / 0.5465 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.7281, allocations: 460.6 kB / 0.5469 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.7282, allocations: 28.48 kB / 0.5469 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004983/0.7332, allocations: 6.173 MB / 0.553 GB, free: 99.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.7332, allocations: 6.375 kB / 0.553 GB, free: 99.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003435/0.7367, allocations: 2.866 MB / 0.5558 GB, free: 98.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007234/0.7374, allocations: 363.1 kB / 0.5561 GB, free: 97.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.7376, allocations: 31.06 kB / 0.5562 GB, free: 97.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007196/0.7383, allocations: 76.53 kB / 0.5562 GB, free: 97.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.7385, allocations: 79.8 kB / 0.5563 GB, free: 97.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-05/0.7386, allocations: 34.33 kB / 0.5563 GB, free: 97.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001096/0.7397, allocations: 0.9118 MB / 0.5572 GB, free: 97.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7397, allocations: 2.75 kB / 0.5572 GB, free: 97.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001344/0.7411, allocations: 468.4 kB / 0.5577 GB, free: 97.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003909/0.7415, allocations: 301.8 kB / 0.558 GB, free: 97.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.744, allocations: 1.992 MB / 0.5599 GB, free: 96.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.744, allocations: 3.562 kB / 0.5599 GB, free: 96.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001549/0.7456, allocations: 1.327 MB / 0.5612 GB, free: 95.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.7471, allocations: 353.6 kB / 0.5615 GB, free: 95.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/0.7514, allocations: 3.299 MB / 0.5648 GB, free: 94.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009509/0.7524, allocations: 1.736 MB / 0.5665 GB, free: 93.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009083/0.7533, allocations: 309.5 kB / 0.5668 GB, free: 93.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.7535, allocations: 100.4 kB / 0.5668 GB, free: 93.37 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.7535, allocations: 0 / 0.5668 GB, free: 93.37 MB / 410.7 MB Notification: Performance of Templates: time 0.03313/0.7867, allocations: 24.82 MB / 0.5911 GB, free: 88.73 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_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_Initialize/AIMC_Initialize.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches