Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001015/0.001015, allocations: 180.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.246/1.246, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001559/0.001559, allocations: 110.5 kB / 256.9 MB, free: 4.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002778/0.0002778, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07983/0.08013, allocations: 44.49 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2551/0.3353, allocations: 105.9 MB / 460.9 MB, free: 212 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.3356, allocations: 91.06 kB / 461 MB, free: 164 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1595/0.4952, allocations: 65.25 MB / 0.5139 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4952, allocations: 0 / 0.5139 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002532/0.4955, allocations: 79.94 kB / 0.514 GB, free: 0.5859 MB / 394.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.1454/0.6409, allocations: 3.647 MB / 0.5176 GB, free: 83.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6409, allocations: 10.02 kB / 0.5176 GB, free: 83.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.6424, allocations: 446.4 kB / 0.518 GB, free: 83.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005288/0.6477, allocations: 2.392 MB / 0.5203 GB, free: 82.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.648, allocations: 229.7 kB / 0.5206 GB, free: 82.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006379/0.6486, allocations: 305.7 kB / 0.5208 GB, free: 82.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006633/0.6553, allocations: 4.333 MB / 0.5251 GB, free: 82.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-05/0.6554, allocations: 12.88 kB / 0.5251 GB, free: 82.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002852/0.6557, allocations: 131.6 kB / 0.5252 GB, free: 82.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.6558, allocations: 128.9 kB / 0.5253 GB, free: 82.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006127/0.6619, allocations: 3.622 MB / 0.5289 GB, free: 82.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01879/0.6807, allocations: 13.6 MB / 0.5422 GB, free: 78.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.6833, allocations: 2.95 MB / 0.545 GB, free: 78.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.6836, allocations: 148.5 kB / 0.5452 GB, free: 77.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.6836, allocations: 51.91 kB / 0.5452 GB, free: 77.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=167): time 3.727e-06/0.6836, allocations: 0 / 0.5452 GB, free: 77.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=183): time 0.01433/0.698, allocations: 9.433 MB / 0.5544 GB, free: 74.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.698, allocations: 68.5 kB / 0.5545 GB, free: 74.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.7002, allocations: 2.066 MB / 0.5565 GB, free: 73.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.7004, allocations: 55.89 kB / 0.5566 GB, free: 73.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006358/0.701, allocations: 1.467 MB / 0.558 GB, free: 72.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.7013, allocations: 0.6098 MB / 0.5586 GB, free: 71.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.7014, allocations: 39.19 kB / 0.5586 GB, free: 71.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.901e-05/0.7015, allocations: 386.7 kB / 0.559 GB, free: 71.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.7029, allocations: 1.154 MB / 0.5601 GB, free: 70.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.7044, allocations: 1.561 MB / 0.5617 GB, free: 70 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.7059, allocations: 1.36 MB / 0.563 GB, free: 69.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.7059, allocations: 3.25 kB / 0.563 GB, free: 69.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.005074/0.711, allocations: 3.621 MB / 0.5665 GB, free: 68.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.711, allocations: 7.312 kB / 0.5665 GB, free: 68.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.711, allocations: 12.81 kB / 0.5665 GB, free: 68.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.7127, allocations: 0.7994 MB / 0.5673 GB, free: 67.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.7144, allocations: 465.3 kB / 0.5678 GB, free: 67.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007189/0.7216, allocations: 10.51 MB / 0.578 GB, free: 59.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.7234, allocations: 117.4 kB / 0.5781 GB, free: 59.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.7236, allocations: 87.11 kB / 0.5782 GB, free: 59.67 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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 (217): * Single equations (assignments): 210 * 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.001564/0.7251, allocations: 1.084 MB / 0.5793 GB, free: 59.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000388/0.7255, allocations: 245.9 kB / 0.5795 GB, free: 59.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004636/0.7302, allocations: 3.403 MB / 0.5828 GB, free: 57.67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.7302, allocations: 17.94 kB / 0.5829 GB, free: 57.67 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.7302, allocations: 7.625 kB / 0.5829 GB, free: 57.67 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.7302, allocations: 9.562 kB / 0.5829 GB, free: 57.67 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009172/0.7394, allocations: 6.95 MB / 0.5897 GB, free: 54.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.7394, allocations: 0 / 0.5897 GB, free: 54.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.7407, allocations: 312.3 kB / 0.59 GB, free: 54.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002038/0.7427, allocations: 0.9254 MB / 0.5909 GB, free: 54.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/0.7429, allocations: 40.86 kB / 0.5909 GB, free: 54.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00899/0.7519, allocations: 13.76 MB / 0.6043 GB, free: 43.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7519, allocations: 3.75 kB / 0.6044 GB, free: 43.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00648/0.7584, allocations: 5.15 MB / 0.6094 GB, free: 39.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001779/0.7602, allocations: 0.5758 MB / 0.6099 GB, free: 38.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005437/0.7608, allocations: 43.38 kB / 0.61 GB, free: 38.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.7623, allocations: 131.8 kB / 0.6101 GB, free: 38.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003668/0.7627, allocations: 167.2 kB / 0.6103 GB, free: 38.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.7628, allocations: 55.67 kB / 0.6103 GB, free: 38.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002032/0.7649, allocations: 1.586 MB / 0.6119 GB, free: 37.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7649, allocations: 0.75 kB / 0.6119 GB, free: 37.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00226/0.7671, allocations: 0.7497 MB / 0.6126 GB, free: 36.54 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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 (148): * Single equations (assignments): 140 * 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.0005634/0.7677, allocations: 368.7 kB / 0.613 GB, free: 36.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004245/0.772, allocations: 3.66 MB / 0.6165 GB, free: 32.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.772, allocations: 0 / 0.6165 GB, free: 32.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002745/0.7747, allocations: 2.57 MB / 0.619 GB, free: 30.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/0.7775, allocations: 0.659 MB / 0.6197 GB, free: 30.03 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009003/0.7866, allocations: 7.996 MB / 0.6275 GB, free: 22.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/0.7883, allocations: 2.587 MB / 0.63 GB, free: 20.81 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001797/0.7901, allocations: 0.5865 MB / 0.6306 GB, free: 20.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/0.7905, allocations: 158.2 kB / 0.6307 GB, free: 20.25 MB / 394.7 MB Notification: Performance of SimCode: time 7.31e-07/0.7905, allocations: 0 / 0.6307 GB, free: 20.25 MB / 394.7 MB Notification: Performance of Templates: time 0.1985/0.989, allocations: 41.85 MB / 0.6716 GB, free: 90.58 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)