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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 109 kB / 17.15 MB, free: 6.328 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.001791/0.001791, allocations: 198 kB / 18.07 MB, free: 5.434 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.839/1.839, allocations: 205.1 MB / 223.9 MB, free: 12.49 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.001279/0.00128, allocations: 47.94 kB / 280 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1388, allocations: 46.64 MB / 326.6 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01506/0.1539, allocations: 9.703 MB / 336.3 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.1651, allocations: 3.109 MB / 339.4 MB, free: 8.023 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003444/0.1687, allocations: 39.81 kB / 339.5 MB, free: 7.984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003386/0.1722, allocations: 0.5788 MB / 340 MB, free: 7.402 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005516/0.1778, allocations: 0.746 MB / 340.8 MB, free: 6.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.1799, allocations: 343.7 kB / 341.1 MB, free: 6.316 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006655/0.1866, allocations: 3.53 MB / 344.6 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004409/0.1911, allocations: 2.016 MB / 346.7 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002864/0.194, allocations: 1.171 MB / 347.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004228/0.1982, allocations: 1.619 MB / 349.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001336/0.1996, allocations: 219.9 kB / 349.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.2017, allocations: 319.8 kB / 350 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001713/0.2035, allocations: 0.8411 MB / 350.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003827/0.2073, allocations: 1.446 MB / 352.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006642/0.214, allocations: 4.533 MB / 356.8 MB, free: 6.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.214, allocations: 0 / 356.8 MB, free: 6.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.214, allocations: 4 kB / 356.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001759/0.2142, allocations: 0 / 356.8 MB, free: 6.516 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.008785/0.223, allocations: 3.213 MB / 360 MB, free: 3.238 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.2231, allocations: 8.031 kB / 360 MB, free: 3.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.2243, allocations: 325.3 kB / 360.3 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004151/0.2285, allocations: 1.627 MB / 362 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.2288, allocations: 168.9 kB / 362.1 MB, free: 1.059 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006567/0.2294, allocations: 235.8 kB / 362.4 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009352/0.2388, allocations: 3.181 MB / 365.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/0.239, allocations: 7.938 kB / 365.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004001/0.2394, allocations: 95.94 kB / 365.6 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00017/0.2396, allocations: 104.4 kB / 365.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006889/0.2465, allocations: 2.746 MB / 368.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02099/0.2675, allocations: 9.871 MB / 378.4 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.309/0.5765, allocations: 2.087 MB / 380.5 MB, free: 50.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/0.5795, allocations: 1.2 MB / 381.7 MB, free: 50.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/0.5799, allocations: 124.4 kB / 381.8 MB, free: 50.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.5799, allocations: 45 kB / 381.8 MB, free: 50.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 3.948e-06/0.5799, allocations: 0.75 kB / 381.8 MB, free: 50.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.02321/0.6031, allocations: 7.996 MB / 389.8 MB, free: 47.47 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/0.6033, allocations: 70.22 kB / 389.9 MB, free: 47.4 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003283/0.6066, allocations: 1.679 MB / 391.6 MB, free: 46.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001815/0.6068, allocations: 47.64 kB / 391.6 MB, free: 46.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008781/0.6077, allocations: 1.091 MB / 392.7 MB, free: 45.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000454/0.6081, allocations: 494.3 kB / 393.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005913/0.6087, allocations: 293.2 kB / 393.5 MB, free: 45.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.255e-05/0.6088, allocations: 306.3 kB / 393.8 MB, free: 45.08 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.6105, allocations: 0.903 MB / 394.7 MB, free: 44.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.6122, allocations: 1.269 MB / 395.9 MB, free: 44.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002746/0.615, allocations: 2.25 MB / 398.2 MB, free: 42.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.615, allocations: 2.812 kB / 398.2 MB, free: 42.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.0054/0.6204, allocations: 3.042 MB / 401.2 MB, free: 41.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/0.6205, allocations: 8.188 kB / 401.2 MB, free: 41.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.6205, allocations: 19.7 kB / 401.3 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/0.6225, allocations: 0.8381 MB / 402.1 MB, free: 40.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.6236, allocations: 312.4 kB / 402.4 MB, free: 39.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008855/0.6325, allocations: 9.068 MB / 411.5 MB, free: 30.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.6347, allocations: 95.84 kB / 411.6 MB, free: 30.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/0.6349, allocations: 62.73 kB / 411.6 MB, free: 30.31 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[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 (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001953/0.6369, allocations: 0.8136 MB / 412.4 MB, free: 29.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006233/0.6375, allocations: 181.8 kB / 412.6 MB, free: 29.3 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/0.642, allocations: 2.841 MB / 415.5 MB, free: 26.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.642, allocations: 16 kB / 415.5 MB, free: 26.42 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.642, allocations: 4 kB / 415.5 MB, free: 26.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.642, allocations: 11.97 kB / 415.5 MB, free: 26.4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00948/0.6515, allocations: 5.68 MB / 421.2 MB, free: 20.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.6516, allocations: 4 kB / 421.2 MB, free: 20.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008606/0.6525, allocations: 196 kB / 421.4 MB, free: 20.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00221/0.6547, allocations: 0.8938 MB / 422.3 MB, free: 19.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/0.6549, allocations: 35.98 kB / 422.3 MB, free: 19.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/0.6651, allocations: 10.55 MB / 432.8 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.6652, allocations: 11.95 kB / 432.9 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006983/0.6722, allocations: 4.152 MB / 437 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/0.6739, allocations: 458.7 kB / 437.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007942/0.6747, allocations: 31.98 kB / 437.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.6762, allocations: 79.92 kB / 437.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005584/0.6768, allocations: 153 kB / 437.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.6769, allocations: 36 kB / 437.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002468/0.6794, allocations: 1.153 MB / 438.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6794, allocations: 0 / 438.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003112/0.6825, allocations: 0.5611 MB / 439.5 MB, free: 1.746 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,19,33.3%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005253/0.683, allocations: 189 kB / 439.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005306/0.6884, allocations: 2.987 MB / 442.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/0.6884, allocations: 6.625 kB / 442.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003832/0.6922, allocations: 2.033 MB / 444.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004587/0.6969, allocations: 477.7 kB / 445.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.7105, allocations: 6.229 MB / 451.4 MB, free: 5.652 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002979/0.7135, allocations: 2.015 MB / 453.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001833/0.7154, allocations: 403.3 kB / 453.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005756/0.716, allocations: 115.4 kB / 453.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of SimCode: time 1.493e-06/0.716, allocations: 0 / 453.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of Templates: time 0.06962/0.7856, allocations: 31.48 MB / 485.4 MB, free: 3.586 MB / 366.1 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