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.001509/0.00151, allocations: 107.7 kB / 16.4 MB, free: 6.504 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.458/1.458, allocations: 222.9 MB / 242.1 MB, free: 15.21 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.001916/0.001916, allocations: 195.1 kB / 294.4 MB, free: 12.65 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.04241/0.04241, allocations: 8.786 MB / 355.3 MB, free: 15.91 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.002367/0.002367, allocations: 87.88 kB / 472.6 MB, free: 5.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3247, allocations: 51.55 MB / 0.5119 GB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01699/0.3417, allocations: 13.6 MB / 0.5252 GB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009827/0.3516, allocations: 4.43 MB / 0.5295 GB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.3542, allocations: 75.75 kB / 0.5296 GB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003378/0.3576, allocations: 0.9926 MB / 0.5305 GB, free: 9.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005434/0.3631, allocations: 1.293 MB / 0.5318 GB, free: 8.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.3659, allocations: 0.898 MB / 0.5327 GB, free: 7.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007723/0.3736, allocations: 4.168 MB / 0.5368 GB, free: 3.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004538/0.3782, allocations: 3.193 MB / 0.5399 GB, free: 268 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00338/0.3816, allocations: 1.904 MB / 0.5417 GB, free: 14.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003584/0.3852, allocations: 2.078 MB / 0.5438 GB, free: 12.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009652/0.3862, allocations: 0.5078 MB / 0.5443 GB, free: 11.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.388, allocations: 0.7107 MB / 0.545 GB, free: 11.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.3891, allocations: 1.091 MB / 0.546 GB, free: 9.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002928/0.392, allocations: 2.147 MB / 0.5481 GB, free: 7.797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008472/0.4005, allocations: 6.7 MB / 0.5547 GB, free: 1.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4005, allocations: 0 / 0.5547 GB, free: 1.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4005, allocations: 0 / 0.5547 GB, free: 1.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001792/0.4007, allocations: 0 / 0.5547 GB, free: 1.074 MB / 366.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.01319/0.4139, allocations: 4.507 MB / 0.5591 GB, free: 12.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.414, allocations: 8.031 kB / 0.5591 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004922/0.4189, allocations: 0.8378 MB / 0.5599 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00539/0.4243, allocations: 2.456 MB / 0.5623 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.4246, allocations: 242.9 kB / 0.5625 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006802/0.4253, allocations: 340.1 kB / 0.5628 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008301/0.4336, allocations: 4.314 MB / 0.5671 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.603e-05/0.4337, allocations: 7.953 kB / 0.5671 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003333/0.4341, allocations: 132 kB / 0.5672 GB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001594/0.4342, allocations: 150.5 kB / 0.5673 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006936/0.4412, allocations: 3.598 MB / 0.5708 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02364/0.4649, allocations: 13.71 MB / 0.5842 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007787/0.4727, allocations: 6.636 MB / 0.5907 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/0.4752, allocations: 1.394 MB / 0.5921 GB, free: 9.355 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007083/0.4823, allocations: 3.664 MB / 0.5957 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001616/0.484, allocations: 0.9391 MB / 0.5966 GB, free: 4.629 MB / 414.1 MB Notification: Performance of pre-optimization done (n=143): time 4.037e-06/0.484, allocations: 0 / 0.5966 GB, free: 4.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=146): time 0.01451/0.4985, allocations: 6.036 MB / 0.6025 GB, free: 14.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.4987, allocations: 226.9 kB / 0.6027 GB, free: 14.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003364/0.5021, allocations: 1.788 MB / 0.6044 GB, free: 12.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001865/0.5023, allocations: 53.7 kB / 0.6045 GB, free: 12.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.504, allocations: 1.509 MB / 0.606 GB, free: 10.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006631/0.5046, allocations: 0.519 MB / 0.6065 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007633/0.5054, allocations: 351.4 kB / 0.6068 GB, free: 9.863 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.5056, allocations: 305.1 kB / 0.6071 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.5072, allocations: 0.691 MB / 0.6078 GB, free: 8.871 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/0.5093, allocations: 1.347 MB / 0.6091 GB, free: 7.242 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00339/0.5127, allocations: 2.118 MB / 0.6111 GB, free: 4.867 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.492e-05/0.5127, allocations: 8 kB / 0.6112 GB, free: 4.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.005458/0.5182, allocations: 2.642 MB / 0.6137 GB, free: 2.176 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.5183, allocations: 16.06 kB / 0.6137 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.652e-05/0.5183, allocations: 20 kB / 0.6138 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.5195, allocations: 380 kB / 0.6141 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.521, allocations: 395.4 kB / 0.6145 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009503/0.5306, allocations: 8.446 MB / 0.6228 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.5326, allocations: 99.98 kB / 0.6228 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003321/0.5329, allocations: 83.98 kB / 0.6229 GB, free: 8.188 MB / 446.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.002543/0.5355, allocations: 1.044 MB / 0.6239 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006483/0.5361, allocations: 206.7 kB / 0.6241 GB, free: 6.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004869/0.541, allocations: 2.337 MB / 0.6264 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.541, allocations: 12 kB / 0.6264 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.928e-05/0.5411, allocations: 8.188 kB / 0.6264 GB, free: 4.508 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/0.5411, allocations: 7.969 kB / 0.6265 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.5525, allocations: 5.138 MB / 0.6315 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.5526, allocations: 7.938 kB / 0.6315 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008955/0.5535, allocations: 167.8 kB / 0.6316 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/0.5553, allocations: 0.5319 MB / 0.6322 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/0.5555, allocations: 39.92 kB / 0.6322 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01561/0.5711, allocations: 13.26 MB / 0.6451 GB, free: 376 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5712, allocations: 4 kB / 0.6451 GB, free: 372 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006359/0.5775, allocations: 3.289 MB / 0.6484 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/0.5789, allocations: 439.7 kB / 0.6488 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006779/0.5796, allocations: 43.92 kB / 0.6488 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.5809, allocations: 63.95 kB / 0.6489 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004193/0.5813, allocations: 109.1 kB / 0.649 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.5815, allocations: 47.98 kB / 0.649 GB, free: 12.28 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00292/0.5844, allocations: 1.215 MB / 0.6502 GB, free: 11.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5844, allocations: 0 / 0.6502 GB, free: 11.07 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003384/0.5878, allocations: 0.5977 MB / 0.6508 GB, free: 10.47 MB / 478.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.000569/0.5884, allocations: 163 kB / 0.651 GB, free: 10.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00493/0.5933, allocations: 2.428 MB / 0.6533 GB, free: 7.801 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.5934, allocations: 0 / 0.6533 GB, free: 7.801 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003111/0.5965, allocations: 1.761 MB / 0.655 GB, free: 5.965 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003554/0.6001, allocations: 0.5565 MB / 0.6556 GB, free: 5.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2965/0.8966, allocations: 5.99 MB / 0.6614 GB, free: 131.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003411/0.9, allocations: 2.341 MB / 0.6637 GB, free: 130.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001623/0.9017, allocations: 414.8 kB / 0.6641 GB, free: 130.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/0.902, allocations: 129.5 kB / 0.6642 GB, free: 130.7 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.902, allocations: 1.188 kB / 0.6642 GB, free: 130.7 MB / 478.1 MB Notification: Performance of Templates: time 0.05277/0.9548, allocations: 31.42 MB / 0.6949 GB, free: 108.6 MB / 478.1 MB " [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: 6.494607309810817]