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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) 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 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05962/0.05962, allocations: 8.699 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.4 MB / 246 MB, free: 3.559 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008438/0.0008439, allocations: 93.62 kB / 299.1 MB, free: 2.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.677e-05, allocations: 4 kB / 359.5 MB, free: 6.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2411, allocations: 52.54 MB / 412.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4064/0.6476, allocations: 160 MB / 0.5586 GB, free: 27.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.6479, allocations: 70.53 kB / 0.5587 GB, free: 27.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.106/2.754, allocations: 0.5726 GB / 1.131 GB, free: 34.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.224e-06/2.754, allocations: 3.281 kB / 1.131 GB, free: 34.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001429/2.755, allocations: 426 kB / 1.132 GB, free: 33.99 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.06586/2.821, allocations: 16.92 MB / 1.148 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/2.821, allocations: 12.19 kB / 1.148 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04609/2.867, allocations: 7.824 MB / 1.156 GB, free: 27.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04326/2.91, allocations: 14.84 MB / 1.17 GB, free: 25.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002101/2.913, allocations: 1.313 MB / 1.172 GB, free: 25.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009726/2.922, allocations: 1.727 MB / 1.173 GB, free: 25.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09625/3.019, allocations: 28.84 MB / 1.202 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001165/3.02, allocations: 23.81 kB / 1.202 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01002/3.03, allocations: 0.7489 MB / 1.202 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002401/3.032, allocations: 1.264 MB / 1.203 GB, free: 252 kB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5353/3.568, allocations: 25.67 MB / 1.229 GB, free: 47.69 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1771/3.745, allocations: 94.07 MB / 1.32 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04097/3.786, allocations: 51.58 MB / 1.371 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01193/3.798, allocations: 7.028 MB / 1.378 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03535/3.833, allocations: 16.38 MB / 1.394 GB, free: 236 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.799e-05/3.833, allocations: 112 kB / 1.394 GB, free: 140 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=687): time 7.845e-06/3.833, allocations: 3.453 kB / 1.394 GB, free: 140 kB / 0.5417 GB Notification: Performance of matching and sorting (n=695): time 0.05394/3.887, allocations: 25.77 MB / 1.419 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/3.887, allocations: 152.9 kB / 1.419 GB, free: 3.16 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0118/3.899, allocations: 6.125 MB / 1.425 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001492/3.901, allocations: 139.4 kB / 1.425 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.4068/4.308, allocations: 7.874 MB / 1.433 GB, free: 97.72 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003783/4.311, allocations: 2.35 MB / 1.435 GB, free: 96.24 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/4.313, allocations: 189.2 kB / 1.435 GB, free: 96.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001065/4.314, allocations: 0.6872 MB / 1.436 GB, free: 95.92 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008596/4.323, allocations: 4.71 MB / 1.441 GB, free: 95.89 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/4.333, allocations: 7.957 MB / 1.448 GB, free: 92.01 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009866/4.343, allocations: 6.417 MB / 1.455 GB, free: 91.88 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001665/4.343, allocations: 31.44 kB / 1.455 GB, free: 91.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.02738/4.37, allocations: 15.6 MB / 1.47 GB, free: 90.94 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001781/4.371, allocations: 50.59 kB / 1.47 GB, free: 90.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002231/4.371, allocations: 107.1 kB / 1.47 GB, free: 90.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005739/4.377, allocations: 2.446 MB / 1.472 GB, free: 90.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007756/4.384, allocations: 2.035 MB / 1.474 GB, free: 90.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02969/4.414, allocations: 28.12 MB / 1.502 GB, free: 80.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009141/4.423, allocations: 0.5282 MB / 1.502 GB, free: 80.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002232/4.426, allocations: 442.3 kB / 1.503 GB, free: 80.23 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1064): * Single equations (assignments): 1051 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 8 {(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,(18,41.0%) 100} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002198/4.428, allocations: 0.6889 MB / 1.504 GB, free: 80.06 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002013/4.43, allocations: 0.7645 MB / 1.504 GB, free: 79.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02213/4.452, allocations: 12.91 MB / 1.517 GB, free: 78.61 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01288/4.465, allocations: 8.13 MB / 1.525 GB, free: 78.03 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001062/4.465, allocations: 31.31 kB / 1.525 GB, free: 78.03 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001774/4.465, allocations: 35.95 kB / 1.525 GB, free: 78.03 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05748/4.523, allocations: 27.99 MB / 1.552 GB, free: 66.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.95e-05/4.523, allocations: 3.5 kB / 1.552 GB, free: 66.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005414/4.528, allocations: 1.107 MB / 1.553 GB, free: 66.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006148/4.534, allocations: 2.52 MB / 1.556 GB, free: 65.97 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001576/4.536, allocations: 148.6 kB / 1.556 GB, free: 65.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03001/4.566, allocations: 32.6 MB / 1.588 GB, free: 37.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/4.566, allocations: 8.359 kB / 1.588 GB, free: 37.15 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0304/4.597, allocations: 19.11 MB / 1.606 GB, free: 20.06 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005671/4.602, allocations: 1.769 MB / 1.608 GB, free: 18.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002151/4.604, allocations: 124 kB / 1.608 GB, free: 18.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006154/4.611, allocations: 423.7 kB / 1.609 GB, free: 18.04 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002647/4.613, allocations: 0.5329 MB / 1.609 GB, free: 17.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008927/4.614, allocations: 199 kB / 1.609 GB, free: 17.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01044/4.625, allocations: 4.607 MB / 1.614 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.12e-07/4.625, allocations: 0 / 1.614 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01735/4.642, allocations: 3.1 MB / 1.617 GB, free: 10.39 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (567): * Single equations (assignments): 552 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 1,(18,38.0%) 100,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002693/4.645, allocations: 0.8365 MB / 1.618 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.4136/5.058, allocations: 13.16 MB / 1.631 GB, free: 85.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/5.058, allocations: 2 kB / 1.631 GB, free: 85.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01076/5.069, allocations: 7.448 MB / 1.638 GB, free: 83.85 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008932/5.078, allocations: 1.967 MB / 1.64 GB, free: 83.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08546/5.164, allocations: 27.25 MB / 1.666 GB, free: 78.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03103/5.195, allocations: 11.65 MB / 1.678 GB, free: 77.55 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.02233/5.217, allocations: 3.273 MB / 1.681 GB, free: 77.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004099/5.221, allocations: 0.552 MB / 1.682 GB, free: 77.27 MB / 0.5573 GB Notification: Performance of SimCode: time 1.212e-06/5.221, allocations: 0 / 1.682 GB, free: 77.27 MB / 0.5573 GB Notification: Performance of Templates: time 0.3124/5.534, allocations: 131.9 MB / 1.81 GB, free: 12.01 MB / 0.5573 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)