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 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.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 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 177.6 kB / 16.12 MB, free: 5.574 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.04044/0.04044, allocations: 8.771 MB / 25.64 MB, free: 3.379 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.666/1.666, allocations: 205.4 MB / 233.9 MB, free: 14.54 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.0007653/0.0007655, allocations: 89.83 kB / 284.4 MB, free: 14.61 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006185/0.0006186, allocations: 12 kB / 344.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3128, allocations: 49.71 MB / 394.5 MB, free: 36.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.7172, allocations: 151.4 MB / 0.5331 GB, free: 53.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.7175, allocations: 78.72 kB / 0.5332 GB, free: 53.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.589/2.306, allocations: 454.3 MB / 0.9768 GB, free: 20.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.661e-06/2.307, allocations: 0 / 0.9768 GB, free: 20.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.002418/2.309, allocations: 326.5 kB / 0.9771 GB, free: 19.98 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.06111/2.37, allocations: 13.94 MB / 0.9907 GB, free: 5.965 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.593e-05/2.37, allocations: 11.98 kB / 0.9908 GB, free: 5.953 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04005/2.41, allocations: 6.506 MB / 0.9971 GB, free: 15.42 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03811/2.448, allocations: 10.89 MB / 1.008 GB, free: 4.461 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002161/2.451, allocations: 1.051 MB / 1.009 GB, free: 3.406 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009526/2.46, allocations: 1.371 MB / 1.01 GB, free: 2.035 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7864/3.247, allocations: 23.78 MB / 1.033 GB, free: 33.28 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009076/3.248, allocations: 16.75 kB / 1.033 GB, free: 33.28 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006312/3.254, allocations: 0.5869 MB / 1.034 GB, free: 33.28 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001257/3.255, allocations: 0.9296 MB / 1.035 GB, free: 33.25 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0544/3.31, allocations: 21.38 MB / 1.056 GB, free: 33.12 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1566/3.466, allocations: 75.19 MB / 1.129 GB, free: 5.824 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03322/3.499, allocations: 28.43 MB / 1.157 GB, free: 1.117 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02463/3.524, allocations: 9.855 MB / 1.167 GB, free: 14.35 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08251/3.607, allocations: 30.42 MB / 1.196 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/3.607, allocations: 121.7 kB / 1.196 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=936): time 1.203e-05/3.607, allocations: 0 / 1.196 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of matching and sorting (n=944): time 0.7692/4.376, allocations: 64.93 MB / 1.26 GB, free: 75.32 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/4.376, allocations: 158.8 kB / 1.26 GB, free: 75.22 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007044/4.383, allocations: 4.68 MB / 1.264 GB, free: 74.88 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 0.001851/4.385, allocations: 156 kB / 1.265 GB, free: 74.84 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 0.002965/4.388, allocations: 5.326 MB / 1.27 GB, free: 72.21 MB / 0.5106 GB Notification: Performance of collectInitialBindings (initialization): time 0.00462/4.393, allocations: 3.113 MB / 1.273 GB, free: 70.19 MB / 0.5106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/4.394, allocations: 167.4 kB / 1.273 GB, free: 70.19 MB / 0.5106 GB Notification: Performance of setup shared object (initialization): time 0.0008528/4.395, allocations: 0.6887 MB / 1.274 GB, free: 69.86 MB / 0.5106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01017/4.405, allocations: 6.076 MB / 1.28 GB, free: 69.84 MB / 0.5106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0149/4.42, allocations: 7.983 MB / 1.287 GB, free: 67.84 MB / 0.5106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02511/4.445, allocations: 14.86 MB / 1.302 GB, free: 65.7 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/4.445, allocations: 15.75 kB / 1.302 GB, free: 65.7 MB / 0.5106 GB Notification: Performance of matching and sorting (n=1209) (initialization): time 0.0414/4.487, allocations: 18.58 MB / 1.32 GB, free: 59.85 MB / 0.5106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/4.487, allocations: 28.05 kB / 1.32 GB, free: 59.85 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001757/4.487, allocations: 54.53 kB / 1.32 GB, free: 59.85 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01238/4.499, allocations: 5.911 MB / 1.326 GB, free: 57.98 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007334/4.507, allocations: 1.52 MB / 1.327 GB, free: 57.93 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02274/4.529, allocations: 20.06 MB / 1.347 GB, free: 42.55 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008556/4.538, allocations: 428.5 kB / 1.347 GB, free: 42.22 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002689/4.541, allocations: 380.3 kB / 1.348 GB, free: 41.88 MB / 0.5106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (802): * Single equations (assignments): 749 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * 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: 4 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of prepare postOptimizeDAE: time 0.01471/4.556, allocations: 5.198 MB / 1.353 GB, free: 37.53 MB / 0.5106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002704/4.558, allocations: 0.6615 MB / 1.354 GB, free: 36.86 MB / 0.5106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03311/4.591, allocations: 18.24 MB / 1.371 GB, free: 21.2 MB / 0.5106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02199/4.613, allocations: 14.35 MB / 1.385 GB, free: 8.527 MB / 0.5106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-05/4.613, allocations: 8 kB / 1.385 GB, free: 8.52 MB / 0.5106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001577/4.614, allocations: 42.75 kB / 1.385 GB, free: 8.516 MB / 0.5106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3429/4.957, allocations: 35.78 MB / 1.42 GB, free: 74.52 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.527e-05/4.957, allocations: 3.938 kB / 1.42 GB, free: 74.52 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004476/4.961, allocations: 1.04 MB / 1.421 GB, free: 74.52 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01075/4.972, allocations: 5.999 MB / 1.427 GB, free: 74.34 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001473/4.973, allocations: 210.4 kB / 1.427 GB, free: 74.34 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02427/4.998, allocations: 24.33 MB / 1.451 GB, free: 64.38 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/4.998, allocations: 6.297 kB / 1.451 GB, free: 64.38 MB / 0.5106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04026/5.038, allocations: 27.01 MB / 1.478 GB, free: 60.72 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005779/5.044, allocations: 2.11 MB / 1.48 GB, free: 59.89 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002444/5.046, allocations: 143.3 kB / 1.48 GB, free: 59.79 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004964/5.051, allocations: 374.2 kB / 1.48 GB, free: 59.68 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00203/5.053, allocations: 0.7136 MB / 1.481 GB, free: 59.54 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007828/5.054, allocations: 256.5 kB / 1.481 GB, free: 59.48 MB / 0.5106 GB Notification: Performance of sorting global known variables: time 0.005484/5.06, allocations: 3.155 MB / 1.484 GB, free: 58.31 MB / 0.5106 GB Notification: Performance of sort global known variables: time 2.7e-07/5.06, allocations: 2.844 kB / 1.484 GB, free: 58.31 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.013/5.073, allocations: 2.505 MB / 1.487 GB, free: 58.05 MB / 0.5106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (554): * Single equations (assignments): 500 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of Backend phase and start with SimCode phase: time 0.002635/5.075, allocations: 0.619 MB / 1.487 GB, free: 57.84 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.0285/5.104, allocations: 15.66 MB / 1.502 GB, free: 51.52 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/5.104, allocations: 3.906 kB / 1.502 GB, free: 51.52 MB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 0.01697/5.121, allocations: 8.877 MB / 1.511 GB, free: 47.66 MB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01604/5.137, allocations: 1.593 MB / 1.513 GB, free: 47.21 MB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07054/5.207, allocations: 34.69 MB / 1.547 GB, free: 16.17 MB / 0.5106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01688/5.224, allocations: 9.091 MB / 1.555 GB, free: 9.172 MB / 0.5106 GB Notification: Performance of simCode: alias equations: time 0.007946/5.232, allocations: 2.074 MB / 1.557 GB, free: 7.746 MB / 0.5106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001883/5.234, allocations: 454.6 kB / 1.558 GB, free: 7.324 MB / 0.5106 GB Notification: Performance of SimCode: time 1.102e-06/5.234, allocations: 0 / 1.558 GB, free: 7.324 MB / 0.5106 GB Notification: Performance of Templates: time 0.5364/5.771, allocations: 164.8 MB / 1.719 GB, free: 40.12 MB / 0.5263 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)