Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_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/HanserModelica 1.1.1-master/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 HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/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(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 170.1 kB / 16.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.0418/0.0418, allocations: 8.77 MB / 25.64 MB, free: 3.734 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 233.9 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009865/0.0009865, allocations: 90.3 kB / 284.4 MB, free: 14.61 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000538/0.0005382, allocations: 16 kB / 344.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2952, allocations: 49.71 MB / 394.5 MB, free: 36.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.7358, allocations: 160 MB / 0.5415 GB, free: 49.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001696/0.736, allocations: 85.83 kB / 0.5416 GB, free: 49.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.852/2.588, allocations: 0.5684 GB / 1.11 GB, free: 34.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.855e-06/2.588, allocations: 0 / 1.11 GB, free: 34.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.002097/2.59, allocations: 422.5 kB / 1.11 GB, free: 34.71 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.06255/2.652, allocations: 17.86 MB / 1.128 GB, free: 29.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/2.652, allocations: 9.781 kB / 1.128 GB, free: 29.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04503/2.697, allocations: 8.52 MB / 1.136 GB, free: 28.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.044/2.741, allocations: 14.05 MB / 1.15 GB, free: 25.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002484/2.744, allocations: 1.334 MB / 1.151 GB, free: 25.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01049/2.754, allocations: 1.746 MB / 1.153 GB, free: 25.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08703/2.842, allocations: 30.87 MB / 1.183 GB, free: 3.258 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008363/2.842, allocations: 21.92 kB / 1.183 GB, free: 3.238 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006415/2.849, allocations: 0.7545 MB / 1.184 GB, free: 2.504 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001507/2.85, allocations: 1.193 MB / 1.185 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3692/3.22, allocations: 28.38 MB / 1.213 GB, free: 48.06 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1815/3.401, allocations: 98.01 MB / 1.308 GB, free: 24.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03574/3.437, allocations: 35.55 MB / 1.343 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03331/3.47, allocations: 13.65 MB / 1.356 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09024/3.561, allocations: 39.35 MB / 1.395 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/3.561, allocations: 154 kB / 1.395 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1271): time 2.146e-05/3.561, allocations: 0 / 1.395 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1279): time 0.5652/4.126, allocations: 101.4 MB / 1.494 GB, free: 76.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/4.126, allocations: 195.8 kB / 1.494 GB, free: 75.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0113/4.138, allocations: 5.682 MB / 1.5 GB, free: 75.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002537/4.14, allocations: 201.1 kB / 1.5 GB, free: 75.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003857/4.144, allocations: 6.665 MB / 1.506 GB, free: 72.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00514/4.149, allocations: 4.195 MB / 1.511 GB, free: 69.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002128/4.151, allocations: 212.5 kB / 1.511 GB, free: 69.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001311/4.153, allocations: 0.8032 MB / 1.512 GB, free: 69.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01416/4.167, allocations: 8.308 MB / 1.52 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01732/4.184, allocations: 10.5 MB / 1.53 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03095/4.215, allocations: 19.78 MB / 1.549 GB, free: 50.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.973e-05/4.215, allocations: 16 kB / 1.549 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1566) (initialization): time 0.05132/4.267, allocations: 25.27 MB / 1.574 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/4.267, allocations: 28 kB / 1.574 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001846/4.267, allocations: 56 kB / 1.574 GB, free: 28.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01764/4.285, allocations: 9.007 MB / 1.583 GB, free: 21.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008308/4.293, allocations: 1.874 MB / 1.585 GB, free: 19.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3666/4.66, allocations: 31.63 MB / 1.616 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009626/4.669, allocations: 0.5472 MB / 1.616 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003692/4.673, allocations: 467.9 kB / 1.616 GB, free: 68.15 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 248 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (984): * Single equations (assignments): 920 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 12 * 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 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of prepare postOptimizeDAE: time 0.01565/4.689, allocations: 6.759 MB / 1.623 GB, free: 68.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00254/4.691, allocations: 0.8521 MB / 1.624 GB, free: 68.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04855/4.74, allocations: 25.62 MB / 1.649 GB, free: 67.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03666/4.777, allocations: 20.26 MB / 1.669 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.116e-05/4.777, allocations: 14.36 kB / 1.669 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002545/4.777, allocations: 53.53 kB / 1.669 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09757/4.875, allocations: 48.68 MB / 1.716 GB, free: 48.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001138/4.875, allocations: 6.406 kB / 1.716 GB, free: 48.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006234/4.881, allocations: 1.35 MB / 1.718 GB, free: 48.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01815/4.899, allocations: 9.133 MB / 1.727 GB, free: 45.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002832/4.902, allocations: 269.6 kB / 1.727 GB, free: 45.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03712/4.939, allocations: 36.67 MB / 1.763 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/4.939, allocations: 4 kB / 1.763 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5026/5.442, allocations: 38.75 MB / 1.8 GB, free: 89.12 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01087/5.453, allocations: 2.827 MB / 1.803 GB, free: 89.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005381/5.458, allocations: 187.3 kB / 1.803 GB, free: 89.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009313/5.468, allocations: 0.5084 MB / 1.804 GB, free: 89.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005523/5.473, allocations: 0.9759 MB / 1.805 GB, free: 89.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003021/5.476, allocations: 341.8 kB / 1.805 GB, free: 89.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.008386/5.485, allocations: 3.852 MB / 1.809 GB, free: 88.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.12e-07/5.485, allocations: 0 / 1.809 GB, free: 88.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01939/5.504, allocations: 3.246 MB / 1.812 GB, free: 88.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (imsQS.rotor.resistor.plug_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.stator.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,ims.rotor.zeroInductor.i0,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (718): * Single equations (assignments): 652 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of Backend phase and start with SimCode phase: time 0.003992/5.508, allocations: 0.7496 MB / 1.813 GB, free: 88.71 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04651/5.555, allocations: 21.42 MB / 1.834 GB, free: 87.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/5.555, allocations: 4.344 kB / 1.834 GB, free: 87.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02918/5.584, allocations: 12.35 MB / 1.846 GB, free: 86.05 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02746/5.611, allocations: 2.103 MB / 1.848 GB, free: 86.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1137/5.725, allocations: 45.37 MB / 1.892 GB, free: 70.36 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03174/5.757, allocations: 11.63 MB / 1.904 GB, free: 69.06 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01429/5.771, allocations: 2.641 MB / 1.906 GB, free: 68.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004487/5.776, allocations: 0.5571 MB / 1.907 GB, free: 68.77 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/5.776, allocations: 0 / 1.907 GB, free: 68.77 MB / 0.5417 GB Notification: Performance of Templates: time 0.8039/6.58, allocations: 223.7 MB / 2.125 GB, free: 50.15 MB / 0.5417 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Start.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1)