Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_YD.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) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: translateModel(HanserModelica.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_YD") translateModel(HanserModelica.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001317/0.001317, allocations: 173.7 kB / 16.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.06287/0.06287, allocations: 8.771 MB / 25.64 MB, free: 3.816 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.468/1.468, allocations: 205.4 MB / 233.9 MB, free: 14.53 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.0007649/0.000765, allocations: 97.03 kB / 284.4 MB, free: 14.61 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005256/0.0005258, allocations: 23.92 kB / 348.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2414, allocations: 49.71 MB / 397.9 MB, free: 36.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4663/0.7077, allocations: 152.1 MB / 0.5372 GB, free: 52.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/0.7082, allocations: 81.59 kB / 0.5372 GB, free: 52.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.586/2.294, allocations: 463.8 MB / 0.9901 GB, free: 12.56 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.147e-06/2.294, allocations: 0 / 0.9901 GB, free: 12.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.002188/2.297, allocations: 327.7 kB / 0.9905 GB, free: 12.24 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: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.06341/2.36, allocations: 14.26 MB / 1.004 GB, free: 13.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/2.36, allocations: 15.98 kB / 1.004 GB, free: 13.85 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04051/2.401, allocations: 6.748 MB / 1.011 GB, free: 7.074 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4543/2.855, allocations: 10.95 MB / 1.022 GB, free: 32.47 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001672/2.857, allocations: 1.04 MB / 1.023 GB, free: 32.44 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0078/2.865, allocations: 1.352 MB / 1.024 GB, free: 32.44 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07873/2.943, allocations: 24.22 MB / 1.048 GB, free: 30.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001105/2.944, allocations: 22.31 kB / 1.048 GB, free: 30.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007649/2.952, allocations: 0.5837 MB / 1.048 GB, free: 30.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001482/2.954, allocations: 0.9342 MB / 1.049 GB, free: 30.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05859/3.012, allocations: 22.05 MB / 1.071 GB, free: 30.65 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1618/3.174, allocations: 77.53 MB / 1.146 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03665/3.211, allocations: 30.76 MB / 1.176 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03692/3.248, allocations: 10.91 MB / 1.187 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3979/3.646, allocations: 33.36 MB / 1.22 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/3.646, allocations: 127.3 kB / 1.22 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1013): time 1.352e-05/3.646, allocations: 1.312 kB / 1.22 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1021): time 0.2766/3.922, allocations: 92.52 MB / 1.31 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/3.923, allocations: 166.1 kB / 1.31 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/3.933, allocations: 4.88 MB / 1.315 GB, free: 63.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002284/3.936, allocations: 164.5 kB / 1.315 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003637/3.939, allocations: 5.203 MB / 1.32 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005048/3.944, allocations: 3.35 MB / 1.324 GB, free: 59.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002491/3.947, allocations: 173 kB / 1.324 GB, free: 59.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001579/3.949, allocations: 0.7015 MB / 1.324 GB, free: 58.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01369/3.962, allocations: 6.798 MB / 1.331 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0146/3.977, allocations: 8.556 MB / 1.339 GB, free: 54.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02847/4.005, allocations: 16.11 MB / 1.355 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001411/4.006, allocations: 12 kB / 1.355 GB, free: 44.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1253) (initialization): time 0.04467/4.05, allocations: 21.26 MB / 1.376 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/4.05, allocations: 24 kB / 1.376 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001297/4.051, allocations: 44 kB / 1.376 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01867/4.069, allocations: 8.499 MB / 1.384 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006536/4.076, allocations: 1.402 MB / 1.386 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3376/4.413, allocations: 28.57 MB / 1.414 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006967/4.42, allocations: 426 kB / 1.414 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001868/4.422, allocations: 373.3 kB / 1.414 GB, free: 65.71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 700 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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: 5 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of prepare postOptimizeDAE: time 0.01315/4.435, allocations: 5.359 MB / 1.42 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002191/4.438, allocations: 0.6955 MB / 1.42 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03166/4.469, allocations: 21.29 MB / 1.441 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002087/4.47, allocations: 253.5 kB / 1.441 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.437e-05/4.47, allocations: 14 kB / 1.441 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001282/4.47, allocations: 42.61 kB / 1.441 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07534/4.545, allocations: 40.27 MB / 1.481 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001231/4.545, allocations: 3.281 kB / 1.481 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004832/4.55, allocations: 0.9816 MB / 1.482 GB, free: 57.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0187/4.569, allocations: 8.604 MB / 1.49 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002368/4.571, allocations: 217 kB / 1.49 GB, free: 55.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03665/4.608, allocations: 32.2 MB / 1.522 GB, free: 34.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/4.608, allocations: 3.844 kB / 1.522 GB, free: 34.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08246/4.69, allocations: 31.29 MB / 1.552 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009422/4.7, allocations: 2.367 MB / 1.555 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004418/4.704, allocations: 157.9 kB / 1.555 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009934/4.714, allocations: 393.5 kB / 1.555 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004162/4.719, allocations: 0.7977 MB / 1.556 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002365/4.721, allocations: 271.6 kB / 1.556 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0106/4.732, allocations: 3.315 MB / 1.559 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.012e-06/4.732, allocations: 0 / 1.559 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02026/4.752, allocations: 2.656 MB / 1.562 GB, free: 6.762 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (512): * Single equations (assignments): 482 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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: 7 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of Backend phase and start with SimCode phase: time 0.003776/4.756, allocations: 0.598 MB / 1.563 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3535/5.109, allocations: 19.78 MB / 1.582 GB, free: 71.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/5.109, allocations: 3.781 kB / 1.582 GB, free: 71.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01874/5.128, allocations: 10.3 MB / 1.592 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01482/5.143, allocations: 1.692 MB / 1.594 GB, free: 70.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0616/5.205, allocations: 35.94 MB / 1.629 GB, free: 58.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01548/5.22, allocations: 9.274 MB / 1.638 GB, free: 57.42 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008913/5.229, allocations: 1.991 MB / 1.64 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/5.232, allocations: 444.7 kB / 1.64 GB, free: 57.19 MB / 0.5105 GB Notification: Performance of SimCode: time 8.21e-07/5.232, allocations: 0 / 1.64 GB, free: 57.19 MB / 0.5105 GB Notification: Performance of Templates: time 0.5561/5.788, allocations: 189.5 MB / 1.825 GB, free: 75.69 MB / 0.5261 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_YD.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_YD.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_YD.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_YD.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_YD.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_YD.pipe 2>&1)