Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 103.2 kB / 18.4 MB, free: 4.668 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.00217/0.002171, allocations: 191.3 kB / 19.34 MB, free: 3.742 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.544/1.544, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001506/0.001506, allocations: 56.41 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1103, allocations: 46.62 MB / 375.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.2163/0.3266, allocations: 11.75 MB / 387.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008011/0.3346, allocations: 3.807 MB / 391.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/0.3376, allocations: 62.25 kB / 391.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002917/0.3406, allocations: 0.872 MB / 392.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004361/0.345, allocations: 1.071 MB / 393.4 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.3464, allocations: 0.4911 MB / 393.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006092/0.3525, allocations: 4.271 MB / 398.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004135/0.3566, allocations: 3.207 MB / 401.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003905/0.3606, allocations: 1.898 MB / 403.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005087/0.3657, allocations: 2.334 MB / 405.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.3672, allocations: 0.4958 MB / 406.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.3697, allocations: 0.5892 MB / 406.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001677/0.3714, allocations: 1.4 MB / 408.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003491/0.3749, allocations: 2.211 MB / 410.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007408/0.3823, allocations: 6.552 MB / 416.9 MB, free: 6.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3823, allocations: 0 / 416.9 MB, free: 6.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3824, allocations: 0 / 416.9 MB, free: 6.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001703/0.3825, allocations: 1.531 kB / 416.9 MB, free: 6.133 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01037/0.3929, allocations: 4.285 MB / 421.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.393, allocations: 12.02 kB / 421.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.3941, allocations: 444 kB / 421.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004094/0.3982, allocations: 2.246 MB / 423.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.3984, allocations: 238 kB / 424.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004631/0.3989, allocations: 304 kB / 424.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00756/0.4064, allocations: 4.365 MB / 428.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.418e-05/0.4066, allocations: 19.83 kB / 428.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000329/0.4069, allocations: 124 kB / 428.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/0.407, allocations: 134 kB / 429 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006727/0.4138, allocations: 3.771 MB / 432.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02421/0.438, allocations: 13.39 MB / 446.2 MB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003575/0.4416, allocations: 2.887 MB / 449 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002937/0.4446, allocations: 1.684 MB / 450.7 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003103/0.4449, allocations: 134.4 kB / 450.9 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.445, allocations: 47.88 kB / 450.9 MB, free: 3.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=164): time 3.637e-06/0.445, allocations: 0 / 450.9 MB, free: 3.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=180): time 0.01944/0.4644, allocations: 9.221 MB / 460.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.4645, allocations: 69.41 kB / 460.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003822/0.4683, allocations: 2.353 MB / 462.6 MB, free: 7.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003077/0.4687, allocations: 65.69 kB / 462.6 MB, free: 7.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.4697, allocations: 1.462 MB / 464.1 MB, free: 6.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006723/0.4704, allocations: 0.6084 MB / 464.7 MB, free: 5.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006129/0.471, allocations: 363.3 kB / 465 MB, free: 5.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4712, allocations: 305.1 kB / 465.3 MB, free: 4.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.4729, allocations: 1.124 MB / 466.5 MB, free: 3.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/0.4752, allocations: 1.578 MB / 468 MB, free: 2.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004083/0.4793, allocations: 2.788 MB / 470.8 MB, free: 15.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.4793, allocations: 4 kB / 470.8 MB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006359/0.4857, allocations: 3.581 MB / 474.4 MB, free: 11.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.4857, allocations: 12.48 kB / 474.4 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/0.4858, allocations: 20 kB / 474.4 MB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/0.4879, allocations: 0.798 MB / 475.2 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.4898, allocations: 467.2 kB / 475.7 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.5011, allocations: 11.18 MB / 486.9 MB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002739/0.5039, allocations: 119.9 kB / 487 MB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004322/0.5044, allocations: 75.98 kB / 487.1 MB, free: 14.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002438/0.5068, allocations: 1.087 MB / 488.2 MB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007672/0.5076, allocations: 245 kB / 488.4 MB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005878/0.5135, allocations: 3.305 MB / 491.7 MB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/0.5136, allocations: 11.97 kB / 491.7 MB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5136, allocations: 0 / 491.7 MB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/0.5152, allocations: 0.5683 MB / 492.3 MB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004415/0.5156, allocations: 32 kB / 492.3 MB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.517, allocations: 131.8 kB / 492.4 MB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004098/0.5175, allocations: 157.7 kB / 492.6 MB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007353/0.5248, allocations: 3.437 MB / 496 MB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006793/0.5317, allocations: 4.244 MB / 0.4886 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001769/0.5335, allocations: 1.218 MB / 0.4897 GB, free: 15.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003196/0.5367, allocations: 1.633 MB / 0.4913 GB, free: 13.94 MB / 430.1 MB Notification: Performance of Backend: time 1.012e-06/0.5367, allocations: 0 / 0.4913 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005883/0.5426, allocations: 2.734 MB / 0.494 GB, free: 11.09 MB / 430.1 MB Notification: Performance of SimCode: time 0.0126/0.5552, allocations: 7.06 MB / 0.5009 GB, free: 3.977 MB / 430.1 MB Notification: Performance of Templates: time 0.08166/0.6369, allocations: 43.34 MB / 0.5432 GB, free: 8.547 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches