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.001321/0.001321, allocations: 94.53 kB / 16.94 MB, free: 6.441 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.001628/0.001628, allocations: 188.5 kB / 17.83 MB, free: 6.008 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.851/1.851, 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.0004745/0.0004746, allocations: 12 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1337, allocations: 47.58 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01147/0.1452, allocations: 9.501 MB / 337.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009081/0.1543, allocations: 3.732 MB / 341.6 MB, free: 6.816 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.1567, allocations: 55.69 kB / 341.6 MB, free: 6.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.1595, allocations: 0.7191 MB / 342.3 MB, free: 6.039 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004093/0.1636, allocations: 0.8958 MB / 343.2 MB, free: 5.141 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.1649, allocations: 307.5 kB / 343.5 MB, free: 4.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005422/0.1703, allocations: 2.656 MB / 346.2 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002925/0.1733, allocations: 2.193 MB / 348.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.1766, allocations: 1.296 MB / 349.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003384/0.18, allocations: 1.634 MB / 351.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007639/0.1808, allocations: 215.9 kB / 351.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.182, allocations: 275.9 kB / 351.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.1831, allocations: 0.9893 MB / 352.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.1844, allocations: 0.7537 MB / 353.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005862/0.1903, allocations: 5.228 MB / 358.8 MB, free: 5.531 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1903, allocations: 4 kB / 358.8 MB, free: 5.527 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1903, allocations: 0 / 358.8 MB, free: 5.527 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001906/0.1905, allocations: 0 / 358.8 MB, free: 5.527 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009129/0.1997, allocations: 3.655 MB / 362.4 MB, free: 1.805 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/0.1997, allocations: 8.031 kB / 362.4 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/0.2018, allocations: 443 kB / 362.9 MB, free: 1.359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005121/0.207, allocations: 2.165 MB / 365 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.2072, allocations: 230.2 kB / 365.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005709/0.2078, allocations: 311.7 kB / 365.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008596/0.2164, allocations: 4.326 MB / 369.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.897e-05/0.2165, allocations: 0 / 369.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003103/0.2168, allocations: 132 kB / 370 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/0.217, allocations: 130 kB / 370.1 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006813/0.2238, allocations: 3.775 MB / 373.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2831/0.5069, allocations: 13.55 MB / 387.5 MB, free: 42.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004866/0.5118, allocations: 2.894 MB / 390.4 MB, free: 41.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003681/0.5123, allocations: 133.3 kB / 390.5 MB, free: 40.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.5123, allocations: 52.25 kB / 390.6 MB, free: 40.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 4.699e-06/0.5123, allocations: 0 / 390.6 MB, free: 40.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.02163/0.534, allocations: 9.354 MB / 399.9 MB, free: 36.65 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.5341, allocations: 80.92 kB / 400 MB, free: 36.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004443/0.5386, allocations: 2.278 MB / 402.3 MB, free: 35.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005167/0.5391, allocations: 60.33 kB / 402.3 MB, free: 35.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.5403, allocations: 1.471 MB / 403.8 MB, free: 34.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007838/0.5411, allocations: 0.6028 MB / 404.4 MB, free: 33.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.5412, allocations: 39.75 kB / 404.4 MB, free: 33.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.5413, allocations: 384.9 kB / 404.8 MB, free: 33.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.543, allocations: 1.14 MB / 405.9 MB, free: 32.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.5446, allocations: 1.583 MB / 407.5 MB, free: 31.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.5463, allocations: 1.349 MB / 408.9 MB, free: 30.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.5464, allocations: 3.656 kB / 408.9 MB, free: 30.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00539/0.5518, allocations: 3.627 MB / 412.5 MB, free: 27.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.5518, allocations: 12 kB / 412.5 MB, free: 27.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.5518, allocations: 14.62 kB / 412.5 MB, free: 27.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/0.5536, allocations: 0.799 MB / 413.3 MB, free: 26.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.5554, allocations: 459.3 kB / 413.8 MB, free: 26.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008312/0.5637, allocations: 10.51 MB / 424.3 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/0.5665, allocations: 126 kB / 424.4 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.5667, allocations: 76.77 kB / 424.5 MB, free: 14.8 MB / 318.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 (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.002347/0.569, allocations: 1.095 MB / 425.6 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000655/0.5697, allocations: 250.7 kB / 425.8 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004863/0.5746, allocations: 3.344 MB / 429.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.5746, allocations: 16 kB / 429.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.5746, allocations: 5.094 kB / 429.2 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.5747, allocations: 11.97 kB / 429.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/0.586, allocations: 6.86 MB / 436.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.5861, allocations: 224 / 436.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.5873, allocations: 303.5 kB / 436.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002163/0.5895, allocations: 0.9285 MB / 437.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/0.5897, allocations: 43.94 kB / 437.3 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/0.6041, allocations: 13.71 MB / 451.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.6042, allocations: 3.938 kB / 451.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009579/0.6137, allocations: 5.058 MB / 456.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002255/0.616, allocations: 0.5645 MB / 456.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005902/0.6167, allocations: 39.98 kB / 456.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.6181, allocations: 127.9 kB / 456.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004607/0.6186, allocations: 161.7 kB / 457 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.6188, allocations: 47.98 kB / 457 MB, free: 13.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002904/0.6217, allocations: 1.574 MB / 458.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.9e-07/0.6217, allocations: 0 / 458.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004177/0.6259, allocations: 0.7065 MB / 459.3 MB, free: 10.73 MB / 350.1 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.0006265/0.6265, allocations: 165.1 kB / 459.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006327/0.6329, allocations: 3.618 MB / 463.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.6329, allocations: 8.25 kB / 463.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004029/0.6369, allocations: 2.532 MB / 465.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/0.6408, allocations: 0.6527 MB / 466.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.6557, allocations: 7.982 MB / 474.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/0.6585, allocations: 2.576 MB / 476.9 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002563/0.6611, allocations: 0.5905 MB / 477.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005777/0.6617, allocations: 155.4 kB / 477.6 MB, free: 8.156 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6617, allocations: 4 kB / 477.6 MB, free: 8.152 MB / 366.1 MB Notification: Performance of Templates: time 0.07929/0.741, allocations: 38.23 MB / 0.5037 GB, free: 1.871 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches