Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 245.5 MB, free: 14.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 190.8 kB / 300.5 MB, free: 9.855 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04329/0.04329, allocations: 8.94 MB / 364.3 MB, free: 10.2 MB / 302.1 MB " [Timeout remaining time 180] 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") translateModel(HanserModelica.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 84.69 kB / 487.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/0.09195, allocations: 54.4 MB / 0.5289 GB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.0169/0.1088, allocations: 13.66 MB / 0.5423 GB, free: 3.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008563/0.1174, allocations: 4.45 MB / 0.5466 GB, free: 14.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.1189, allocations: 79.75 kB / 0.5467 GB, free: 14.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.1215, allocations: 1.029 MB / 0.5477 GB, free: 13.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003584/0.1251, allocations: 1.347 MB / 0.549 GB, free: 12.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.1272, allocations: 0.9007 MB / 0.5499 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004769/0.132, allocations: 4.172 MB / 0.554 GB, free: 7.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002949/0.1349, allocations: 2.222 MB / 0.5562 GB, free: 4.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.1376, allocations: 1.928 MB / 0.558 GB, free: 2.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003165/0.1408, allocations: 2.094 MB / 0.5601 GB, free: 0.793 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008275/0.1416, allocations: 0.5078 MB / 0.5606 GB, free: 292 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.1431, allocations: 0.7106 MB / 0.5613 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.1441, allocations: 1.098 MB / 0.5623 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002489/0.1466, allocations: 2.147 MB / 0.5644 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007396/0.154, allocations: 6.7 MB / 0.571 GB, free: 5.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.154, allocations: 4 kB / 0.571 GB, free: 5.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.154, allocations: 0 / 0.571 GB, free: 5.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001078/0.1541, allocations: 0 / 0.571 GB, free: 5.59 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.01107/0.1652, allocations: 4.499 MB / 0.5754 GB, free: 1.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1652, allocations: 8.031 kB / 0.5754 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004507/0.1697, allocations: 0.8417 MB / 0.5762 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005249/0.175, allocations: 2.452 MB / 0.5786 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.1752, allocations: 250.8 kB / 0.5788 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005972/0.1758, allocations: 336.1 kB / 0.5792 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007744/0.1836, allocations: 4.314 MB / 0.5834 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.82e-05/0.1836, allocations: 7.891 kB / 0.5834 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003131/0.1839, allocations: 140 kB / 0.5835 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.1841, allocations: 150.5 kB / 0.5837 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006778/0.1909, allocations: 3.59 MB / 0.5872 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02401/0.2149, allocations: 13.71 MB / 0.6006 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00758/0.2225, allocations: 6.491 MB / 0.6069 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002627/0.2251, allocations: 1.281 MB / 0.6081 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007107/0.2322, allocations: 3.671 MB / 0.6117 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00157/0.2338, allocations: 0.943 MB / 0.6127 GB, free: 9.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 3.076e-06/0.2338, allocations: 0 / 0.6127 GB, free: 9.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=146): time 0.01267/0.2465, allocations: 6.017 MB / 0.6185 GB, free: 3.164 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.2466, allocations: 222.9 kB / 0.6187 GB, free: 2.898 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/0.2495, allocations: 1.788 MB / 0.6205 GB, free: 1.109 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.2496, allocations: 53.7 kB / 0.6205 GB, free: 1.051 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.2511, allocations: 1.505 MB / 0.622 GB, free: 15.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005053/0.2516, allocations: 0.5191 MB / 0.6225 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005411/0.2521, allocations: 343.4 kB / 0.6228 GB, free: 14.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2523, allocations: 313.1 kB / 0.6231 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.2535, allocations: 0.6832 MB / 0.6238 GB, free: 13.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.2553, allocations: 1.354 MB / 0.6251 GB, free: 12.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003109/0.2584, allocations: 2.118 MB / 0.6272 GB, free: 9.664 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.2585, allocations: 11.94 kB / 0.6272 GB, free: 9.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.004749/0.2632, allocations: 2.633 MB / 0.6298 GB, free: 6.977 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.2632, allocations: 16 kB / 0.6298 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/0.2633, allocations: 19.98 kB / 0.6298 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.2644, allocations: 380.3 kB / 0.6302 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.2659, allocations: 387.4 kB / 0.6305 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008962/0.2748, allocations: 8.451 MB / 0.6388 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.2765, allocations: 95.91 kB / 0.6389 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.2766, allocations: 84.06 kB / 0.639 GB, free: 12.99 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition3,$whenCondition2,$whenCondition1,rmsI[3].mean.y_last,$PRE.rmsI[3].mean.y_last,rmsI[2].mean.y_last,$PRE.rmsI[2].mean.y_last,rmsI[1].mean.y_last,$PRE.rmsI[1].mean.y_last,idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001921/0.2785, allocations: 1.032 MB / 0.64 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004101/0.279, allocations: 206.6 kB / 0.6402 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/0.2835, allocations: 2.329 MB / 0.6425 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.2835, allocations: 12 kB / 0.6425 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.2835, allocations: 8 kB / 0.6425 GB, free: 9.332 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.2835, allocations: 3.984 kB / 0.6425 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009304/0.2928, allocations: 5.106 MB / 0.6475 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.2928, allocations: 4 kB / 0.6475 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008545/0.2937, allocations: 171.8 kB / 0.6476 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/0.2952, allocations: 0.5281 MB / 0.6481 GB, free: 3.359 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.2953, allocations: 43.98 kB / 0.6482 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2192/0.5144, allocations: 13.25 MB / 0.6611 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5145, allocations: 1.188 kB / 0.6611 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005213/0.5197, allocations: 3.274 MB / 0.6643 GB, free: 98.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009876/0.5207, allocations: 444 kB / 0.6647 GB, free: 98.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.5209, allocations: 45.2 kB / 0.6648 GB, free: 98.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008481/0.5218, allocations: 62.83 kB / 0.6648 GB, free: 98.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/0.522, allocations: 116.5 kB / 0.665 GB, free: 98.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.182e-05/0.5221, allocations: 40.28 kB / 0.665 GB, free: 98.31 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001708/0.5238, allocations: 1.217 MB / 0.6662 GB, free: 97.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5238, allocations: 5.125 kB / 0.6662 GB, free: 97.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001984/0.5258, allocations: 0.601 MB / 0.6668 GB, free: 97.77 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v,rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control,idealOpener.control,rmsI[1].mean.y_last,rmsI[2].mean.y_last,rmsI[3].mean.y_last) * Number of discrete states: 3 (rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000315/0.5261, allocations: 171.9 kB / 0.6669 GB, free: 97.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002866/0.529, allocations: 2.346 MB / 0.6692 GB, free: 96.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.529, allocations: 0 / 0.6692 GB, free: 96.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.531, allocations: 1.744 MB / 0.6709 GB, free: 95.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.5329, allocations: 0.553 MB / 0.6715 GB, free: 95.17 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007913/0.5409, allocations: 5.969 MB / 0.6773 GB, free: 92.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/0.5423, allocations: 2.283 MB / 0.6795 GB, free: 91.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.5427, allocations: 145.5 kB / 0.6797 GB, free: 91.12 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5427, allocations: 4 kB / 0.6797 GB, free: 91.12 MB / 462.1 MB Notification: Performance of Templates: time 0.105/0.6477, allocations: 130.9 MB / 0.8075 GB, free: 9.406 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.571526994928718] Failed to read output from testmodel.py, exit status != 0: 0.8007541331462562 0.6696595470000001 0.512600284 Calling exit ...