Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_DOL.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.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009911/0.0009912, allocations: 175.1 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.03984/0.03984, allocations: 8.7 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.345/1.345, allocations: 221.4 MB / 246 MB, free: 3.531 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.0009856/0.0009858, allocations: 88.59 kB / 299.1 MB, free: 2.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.165e-05, allocations: 0 / 359.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3021, allocations: 52.53 MB / 412.1 MB, free: 22.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4691/0.7713, allocations: 151.7 MB / 0.5506 GB, free: 31.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.7715, allocations: 73.78 kB / 0.5506 GB, free: 31.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41/2.182, allocations: 457.1 MB / 0.997 GB, free: 14.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.044e-06/2.182, allocations: 4 kB / 0.997 GB, free: 14.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001086/2.183, allocations: 327.6 kB / 0.9973 GB, free: 14.45 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.04704/2.23, allocations: 13.19 MB / 1.01 GB, free: 1.152 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/2.23, allocations: 9.156 kB / 1.01 GB, free: 1.145 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03239/2.263, allocations: 5.831 MB / 1.016 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6243/2.887, allocations: 11.71 MB / 1.027 GB, free: 31.75 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001939/2.889, allocations: 1.021 MB / 1.028 GB, free: 31.72 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006269/2.895, allocations: 1.352 MB / 1.03 GB, free: 31.72 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05828/2.954, allocations: 22.17 MB / 1.051 GB, free: 30.07 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006095/2.954, allocations: 22.55 kB / 1.051 GB, free: 30.07 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003984/2.958, allocations: 0.581 MB / 1.052 GB, free: 30.07 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009178/2.959, allocations: 0.9729 MB / 1.053 GB, free: 30.04 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04005/2.999, allocations: 19.18 MB / 1.072 GB, free: 29.92 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1079/3.107, allocations: 72.71 MB / 1.143 GB, free: 3 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03134/3.139, allocations: 42.13 MB / 1.184 GB, free: 12.25 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008545/3.147, allocations: 5.066 MB / 1.189 GB, free: 10.29 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02315/3.17, allocations: 12.77 MB / 1.201 GB, free: 4.383 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/3.17, allocations: 93.53 kB / 1.201 GB, free: 4.301 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=502): time 1.167e-05/3.17, allocations: 0 / 1.201 GB, free: 4.301 MB / 0.5262 GB Notification: Performance of matching and sorting (n=510): time 0.05191/3.222, allocations: 18.87 MB / 1.22 GB, free: 3.758 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/3.223, allocations: 129.4 kB / 1.22 GB, free: 3.609 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4281/3.651, allocations: 5.007 MB / 1.225 GB, free: 92.69 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0009861/3.652, allocations: 110 kB / 1.225 GB, free: 92.66 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.00411/3.656, allocations: 6.141 MB / 1.231 GB, free: 91.18 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002042/3.658, allocations: 1.743 MB / 1.232 GB, free: 90.09 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005684/3.658, allocations: 148.9 kB / 1.233 GB, free: 90.09 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0003239/3.659, allocations: 0.6044 MB / 1.233 GB, free: 89.78 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005037/3.664, allocations: 3.516 MB / 1.237 GB, free: 89.76 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006422/3.67, allocations: 6.294 MB / 1.243 GB, free: 86.4 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006382/3.677, allocations: 4.923 MB / 1.248 GB, free: 86.34 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.921e-05/3.677, allocations: 25.97 kB / 1.248 GB, free: 86.34 MB / 0.5418 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.01871/3.695, allocations: 11.79 MB / 1.259 GB, free: 85.72 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 8.721e-05/3.696, allocations: 43.69 kB / 1.259 GB, free: 85.72 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001595/3.696, allocations: 95.66 kB / 1.259 GB, free: 85.72 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003949/3.7, allocations: 1.512 MB / 1.261 GB, free: 85.67 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00617/3.706, allocations: 1.639 MB / 1.262 GB, free: 85.67 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01913/3.725, allocations: 17.86 MB / 1.28 GB, free: 78.92 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006837/3.732, allocations: 434 kB / 1.28 GB, free: 78.9 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001341/3.733, allocations: 363.9 kB / 1.281 GB, free: 78.9 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 417 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,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 (860): * Single equations (assignments): 850 * 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: 5 * 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: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(12,52.8%) 64} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001293/3.735, allocations: 0.5686 MB / 1.281 GB, free: 78.74 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/3.736, allocations: 0.5929 MB / 1.282 GB, free: 78.43 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/3.752, allocations: 9.168 MB / 1.291 GB, free: 77.83 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0085/3.76, allocations: 5.764 MB / 1.296 GB, free: 77.64 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-05/3.76, allocations: 19.25 kB / 1.296 GB, free: 77.64 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.968e-05/3.761, allocations: 28.12 kB / 1.296 GB, free: 77.64 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03896/3.8, allocations: 20.89 MB / 1.317 GB, free: 76.31 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/3.8, allocations: 6.156 kB / 1.317 GB, free: 76.31 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003694/3.803, allocations: 0.853 MB / 1.318 GB, free: 76.31 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004181/3.807, allocations: 1.54 MB / 1.319 GB, free: 76.23 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007422/3.808, allocations: 133 kB / 1.319 GB, free: 76.22 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02023/3.828, allocations: 21.02 MB / 1.34 GB, free: 61.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/3.829, allocations: 4.906 kB / 1.34 GB, free: 61.5 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02043/3.849, allocations: 14.3 MB / 1.354 GB, free: 54.32 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004065/3.853, allocations: 1.357 MB / 1.355 GB, free: 53.52 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001473/3.855, allocations: 109.4 kB / 1.355 GB, free: 53.44 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003289/3.858, allocations: 304.8 kB / 1.355 GB, free: 53.36 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008973/3.859, allocations: 403 kB / 1.356 GB, free: 53.31 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003278/3.859, allocations: 159.1 kB / 1.356 GB, free: 53.27 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.005208/3.864, allocations: 3.76 MB / 1.36 GB, free: 51.86 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.91e-07/3.864, allocations: 0 / 1.36 GB, free: 51.86 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.008537/3.873, allocations: 2.384 MB / 1.362 GB, free: 51.62 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (439): * Single equations (assignments): 428 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(12,52.1%) 64,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(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.001319/3.874, allocations: 0.7157 MB / 1.363 GB, free: 51.33 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01337/3.888, allocations: 9.617 MB / 1.372 GB, free: 44.62 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/3.888, allocations: 4 kB / 1.372 GB, free: 44.62 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.007695/3.895, allocations: 5.352 MB / 1.377 GB, free: 39.81 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007065/3.902, allocations: 1.49 MB / 1.379 GB, free: 38.67 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03529/3.938, allocations: 21.05 MB / 1.399 GB, free: 19.89 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01154/3.949, allocations: 9.088 MB / 1.408 GB, free: 13.1 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.007659/3.957, allocations: 2.519 MB / 1.411 GB, free: 11.45 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/3.958, allocations: 457.5 kB / 1.411 GB, free: 11.03 MB / 0.5418 GB Notification: Performance of SimCode: time 6.71e-07/3.958, allocations: 0 / 1.411 GB, free: 11.03 MB / 0.5418 GB Notification: Performance of Templates: time 0.519/4.477, allocations: 99.65 MB / 1.508 GB, free: 71 MB / 0.5418 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_DOL.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1)