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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 97 kB / 16.94 MB, free: 5.98 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.001056/0.001056, allocations: 179 kB / 17.82 MB, free: 5.652 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.828/1.828, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004597/0.0004598, allocations: 12 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.137, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01112/0.1482, allocations: 7.17 MB / 335.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007895/0.1562, allocations: 2.8 MB / 338.3 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.1588, allocations: 35.81 kB / 338.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003296/0.1621, allocations: 0.5054 MB / 338.8 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004408/0.1666, allocations: 0.6152 MB / 339.5 MB, free: 8.922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.1678, allocations: 199.8 kB / 339.7 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004554/0.1724, allocations: 1.552 MB / 341.2 MB, free: 7.168 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002637/0.1751, allocations: 1.188 MB / 342.4 MB, free: 5.945 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.1775, allocations: 0.7473 MB / 343.1 MB, free: 5.195 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002927/0.1805, allocations: 0.9573 MB / 344.1 MB, free: 4.234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009455/0.1814, allocations: 120 kB / 344.2 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.183, allocations: 187.9 kB / 344.4 MB, free: 3.934 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.1842, allocations: 0.5803 MB / 345 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.1857, allocations: 448.6 kB / 345.4 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004413/0.1902, allocations: 2.926 MB / 348.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1902, allocations: 0 / 348.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.72e-06/0.1902, allocations: 4 kB / 348.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001156/0.1903, allocations: 0 / 348.3 MB, free: 15.97 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007065/0.1974, allocations: 2.201 MB / 350.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.702e-05/0.1975, allocations: 12.03 kB / 350.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.1991, allocations: 257.1 kB / 350.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004263/0.2033, allocations: 1.26 MB / 352.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.2036, allocations: 135.6 kB / 352.2 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005779/0.2042, allocations: 183.9 kB / 352.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006463/0.2106, allocations: 2.386 MB / 354.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.439e-05/0.2107, allocations: 4 kB / 354.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/0.211, allocations: 72 kB / 354.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/0.2112, allocations: 91.48 kB / 354.9 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005524/0.2167, allocations: 2.02 MB / 357 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/0.2341, allocations: 7.464 MB / 364.4 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.236, allocations: 1.268 MB / 365.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/0.2363, allocations: 122 kB / 365.8 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.2363, allocations: 43.56 kB / 365.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 3.647e-06/0.2363, allocations: 0 / 365.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.009717/0.246, allocations: 5.075 MB / 370.9 MB, free: 8.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.2462, allocations: 64.34 kB / 371 MB, free: 8.758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.2483, allocations: 1.318 MB / 372.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.937e-05/0.2484, allocations: 49.64 kB / 372.4 MB, free: 7.379 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007438/0.2492, allocations: 0.9008 MB / 373.3 MB, free: 6.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.2495, allocations: 354.9 kB / 373.6 MB, free: 6.113 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.2496, allocations: 24 kB / 373.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.2497, allocations: 353.9 kB / 374 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009624/0.2507, allocations: 0.6389 MB / 374.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.2519, allocations: 0.9337 MB / 375.5 MB, free: 4.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.2531, allocations: 0.772 MB / 376.3 MB, free: 3.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2531, allocations: 0 / 376.3 MB, free: 3.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004329/0.2574, allocations: 2.418 MB / 378.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.2575, allocations: 12 kB / 378.7 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.2575, allocations: 8 kB / 378.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/0.2594, allocations: 0.743 MB / 379.5 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2383/0.4977, allocations: 234 kB / 379.7 MB, free: 50.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.5105, allocations: 8.55 MB / 388.3 MB, free: 46.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.5121, allocations: 83.12 kB / 388.4 MB, free: 46.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.5123, allocations: 53.12 kB / 388.4 MB, free: 46.32 MB / 318.1 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 () * Number of clocked 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%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001735/0.5141, allocations: 0.621 MB / 389 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004178/0.5145, allocations: 140.5 kB / 389.2 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003732/0.5182, allocations: 1.925 MB / 391.1 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.5183, allocations: 10.06 kB / 391.1 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.5183, allocations: 3.984 kB / 391.1 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.5183, allocations: 9.797 kB / 391.1 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007013/0.5253, allocations: 3.984 MB / 395.1 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.5254, allocations: 2.531 kB / 395.1 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008306/0.5262, allocations: 179.9 kB / 395.3 MB, free: 43.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.5275, allocations: 472.2 kB / 395.7 MB, free: 43.47 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.388e-05/0.5276, allocations: 28.91 kB / 395.8 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005534/0.5332, allocations: 6.262 MB / 402 MB, free: 38.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5332, allocations: 0 / 402 MB, free: 38.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/0.5371, allocations: 2.912 MB / 404.9 MB, free: 36.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007853/0.5379, allocations: 352.3 kB / 405.3 MB, free: 36.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.5381, allocations: 27.42 kB / 405.3 MB, free: 36.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006788/0.5388, allocations: 76.7 kB / 405.4 MB, free: 36.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/0.539, allocations: 81.83 kB / 405.5 MB, free: 36.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/0.5391, allocations: 33.3 kB / 405.5 MB, free: 36.4 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.5403, allocations: 0.907 MB / 406.4 MB, free: 35.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5403, allocations: 0 / 406.4 MB, free: 35.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001644/0.542, allocations: 434.8 kB / 406.8 MB, free: 35.31 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (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) * 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 (84): * Single equations (assignments): 80 * 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.0003198/0.5423, allocations: 150.1 kB / 407 MB, free: 35.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002941/0.5452, allocations: 2.044 MB / 409 MB, free: 33.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5453, allocations: 4.562 kB / 409 MB, free: 33.08 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.5469, allocations: 1.351 MB / 410.4 MB, free: 31.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.5482, allocations: 353.3 kB / 410.7 MB, free: 31.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006677/0.5549, allocations: 4.774 MB / 415.5 MB, free: 26.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.5561, allocations: 1.726 MB / 417.2 MB, free: 24.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009899/0.5571, allocations: 314 kB / 417.5 MB, free: 24.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.5574, allocations: 95.42 kB / 417.6 MB, free: 24.37 MB / 318.1 MB Notification: Performance of SimCode: time 2.224e-06/0.5574, allocations: 0 / 417.6 MB, free: 24.37 MB / 318.1 MB Notification: Performance of Templates: time 0.03064/0.588, allocations: 21.7 MB / 439.3 MB, free: 2.664 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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