Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001741/0.001741, allocations: 175.6 kB / 16.72 MB, free: 5.082 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.701/1.701, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0009152/0.0009151, allocations: 94.39 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 11.98 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2577, allocations: 47.56 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01057/0.2683, allocations: 10.42 MB / 385.5 MB, free: 37.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008032/0.2764, allocations: 3.599 MB / 389.1 MB, free: 34.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00252/0.279, allocations: 57.16 kB / 389.2 MB, free: 34.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002235/0.2812, allocations: 0.6817 MB / 389.8 MB, free: 33.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003776/0.285, allocations: 0.954 MB / 390.8 MB, free: 32.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.2862, allocations: 307.6 kB / 391.1 MB, free: 32.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004789/0.291, allocations: 4.453 MB / 395.5 MB, free: 28.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00325/0.2943, allocations: 2.644 MB / 398.2 MB, free: 25.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002683/0.2971, allocations: 1.409 MB / 399.6 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.3003, allocations: 1.915 MB / 401.5 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009445/0.3013, allocations: 220 kB / 401.7 MB, free: 21.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.3031, allocations: 315.8 kB / 402 MB, free: 21.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.3044, allocations: 1.055 MB / 403.1 MB, free: 20.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003222/0.3076, allocations: 1.775 MB / 404.9 MB, free: 18.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00514/0.3128, allocations: 5.286 MB / 410.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3129, allocations: 0 / 410.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3129, allocations: 0 / 410.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002663/0.3131, allocations: 0 / 410.2 MB, free: 13.48 MB / 298.7 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.008421/0.3216, allocations: 3.636 MB / 413.8 MB, free: 9.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.3216, allocations: 12.02 kB / 413.8 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.3236, allocations: 444 kB / 414.2 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004096/0.3277, allocations: 2.231 MB / 416.5 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.3279, allocations: 238.1 kB / 416.7 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004882/0.3284, allocations: 307.9 kB / 417 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00698/0.3354, allocations: 4.35 MB / 421.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.432e-05/0.3355, allocations: 15.83 kB / 421.4 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002713/0.3358, allocations: 128 kB / 421.5 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.3359, allocations: 130 kB / 421.6 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006384/0.3423, allocations: 3.763 MB / 425.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02598/0.3683, allocations: 13.63 MB / 439 MB, free: 40 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003858/0.3722, allocations: 2.902 MB / 441.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002798/0.375, allocations: 1.704 MB / 443.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003558/0.3754, allocations: 130.4 kB / 443.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.023e-05/0.3755, allocations: 51.88 kB / 443.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=164): time 5.581e-06/0.3755, allocations: 0 / 443.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.0195/0.395, allocations: 9.286 MB / 453.1 MB, free: 1.547 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.3951, allocations: 73.41 kB / 453.2 MB, free: 1.465 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004378/0.3995, allocations: 2.342 MB / 455.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003766/0.3999, allocations: 53.7 kB / 455.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001218/0.4011, allocations: 1.47 MB / 457 MB, free: 13.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007205/0.4018, allocations: 0.5968 MB / 457.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.402, allocations: 40 kB / 457.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.4022, allocations: 385.8 kB / 458 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.4041, allocations: 1.128 MB / 459.2 MB, free: 11.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.4062, allocations: 1.567 MB / 460.7 MB, free: 9.648 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004017/0.4103, allocations: 2.788 MB / 463.5 MB, free: 6.688 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.4103, allocations: 4 kB / 463.5 MB, free: 6.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006633/0.4169, allocations: 3.592 MB / 467.1 MB, free: 3.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.417, allocations: 8 kB / 467.1 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/0.4171, allocations: 16.44 kB / 467.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002045/0.4191, allocations: 0.8058 MB / 467.9 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.4209, allocations: 463.3 kB / 468.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.4318, allocations: 10.3 MB / 478.7 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.4342, allocations: 128.1 kB / 478.8 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/0.4345, allocations: 83.98 kB / 478.9 MB, free: 6.582 MB / 362.7 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 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002344/0.4368, allocations: 1.087 MB / 480 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006435/0.4375, allocations: 245 kB / 480.2 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005759/0.4432, allocations: 3.305 MB / 483.5 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.831e-05/0.4433, allocations: 19.94 kB / 483.5 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.4433, allocations: 4 kB / 483.6 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/0.4434, allocations: 15.97 kB / 483.6 MB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/0.4555, allocations: 6.896 MB / 490.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.4556, allocations: 4.156 kB / 490.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.4568, allocations: 299.6 kB / 490.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002452/0.4593, allocations: 0.9269 MB / 491.7 MB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.4595, allocations: 39.98 kB / 491.7 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2491/0.7086, allocations: 13.45 MB / 0.4933 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.7086, allocations: 1.5 kB / 0.4933 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007637/0.7163, allocations: 4.875 MB / 0.4981 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/0.7176, allocations: 0.5714 MB / 0.4987 GB, free: 101.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003104/0.718, allocations: 36.03 kB / 0.4987 GB, free: 101.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.7192, allocations: 129.2 kB / 0.4988 GB, free: 101.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004162/0.7196, allocations: 161.1 kB / 0.499 GB, free: 101.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.7197, allocations: 48.86 kB / 0.499 GB, free: 101.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002467/0.7222, allocations: 1.608 MB / 0.5006 GB, free: 101 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7222, allocations: 0.8125 kB / 0.5006 GB, free: 101 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002308/0.7245, allocations: 0.705 MB / 0.5013 GB, free: 100.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003888/0.7249, allocations: 211.5 kB / 0.5015 GB, free: 100.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004409/0.7293, allocations: 3.583 MB / 0.505 GB, free: 99.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.7294, allocations: 3.969 kB / 0.505 GB, free: 99.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002851/0.7322, allocations: 2.517 MB / 0.5074 GB, free: 97.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/0.7358, allocations: 0.6709 MB / 0.5081 GB, free: 97.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009186/0.745, allocations: 7.963 MB / 0.5159 GB, free: 89.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001809/0.7469, allocations: 2.478 MB / 0.5183 GB, free: 87.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008006/0.7477, allocations: 171.3 kB / 0.5184 GB, free: 87.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.213e-06/0.7477, allocations: 0 / 0.5184 GB, free: 87.07 MB / 378.7 MB Notification: Performance of Templates: time 0.347/1.095, allocations: 167.1 MB / 0.6816 GB, free: 119.8 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches