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.001585/0.001585, allocations: 114.4 kB / 17.08 MB, free: 5.934 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.279/1.279, allocations: 222.9 MB / 242.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 179] 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.001386/0.001386, allocations: 191.2 kB / 295 MB, free: 12.66 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.03878/0.03878, allocations: 8.807 MB / 356 MB, free: 15.89 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.002197/0.002197, allocations: 83.88 kB / 473.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2105, allocations: 51.55 MB / 0.5126 GB, free: 12.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01484/0.2254, allocations: 13.6 MB / 0.5258 GB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008138/0.2335, allocations: 4.43 MB / 0.5302 GB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.2355, allocations: 75.75 kB / 0.5302 GB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002805/0.2383, allocations: 0.99 MB / 0.5312 GB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00381/0.2422, allocations: 1.299 MB / 0.5325 GB, free: 8.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.2444, allocations: 0.8985 MB / 0.5334 GB, free: 7.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004996/0.2494, allocations: 4.179 MB / 0.5374 GB, free: 3.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003686/0.2531, allocations: 3.182 MB / 0.5405 GB, free: 408 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.2557, allocations: 1.908 MB / 0.5424 GB, free: 14.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002761/0.2585, allocations: 2.07 MB / 0.5444 GB, free: 12.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007259/0.2592, allocations: 0.5117 MB / 0.5449 GB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.2605, allocations: 0.7068 MB / 0.5456 GB, free: 11.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009565/0.2615, allocations: 1.095 MB / 0.5467 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002359/0.2638, allocations: 2.147 MB / 0.5488 GB, free: 7.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006946/0.2708, allocations: 6.692 MB / 0.5553 GB, free: 1.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2708, allocations: 7.938 kB / 0.5553 GB, free: 1.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2708, allocations: 0 / 0.5553 GB, free: 1.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.98e-05/0.2709, allocations: 3.938 kB / 0.5553 GB, free: 1.207 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.009953/0.2809, allocations: 4.5 MB / 0.5597 GB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2809, allocations: 8.031 kB / 0.5597 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004015/0.285, allocations: 0.8417 MB / 0.5606 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004272/0.2893, allocations: 2.456 MB / 0.563 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.2895, allocations: 250.9 kB / 0.5632 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000504/0.29, allocations: 340 kB / 0.5635 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007236/0.2972, allocations: 4.31 MB / 0.5677 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/0.2973, allocations: 7.938 kB / 0.5677 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003006/0.2976, allocations: 136 kB / 0.5679 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001494/0.2978, allocations: 154.5 kB / 0.568 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005825/0.3036, allocations: 3.594 MB / 0.5715 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01937/0.323, allocations: 13.7 MB / 0.5849 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00697/0.33, allocations: 6.644 MB / 0.5914 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002246/0.3323, allocations: 1.386 MB / 0.5927 GB, free: 9.484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005796/0.3381, allocations: 3.667 MB / 0.5963 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001436/0.3395, allocations: 0.943 MB / 0.5972 GB, free: 4.754 MB / 414.1 MB Notification: Performance of pre-optimization done (n=143): time 2.795e-06/0.3395, allocations: 0 / 0.5972 GB, free: 4.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=146): time 0.01137/0.3509, allocations: 6.035 MB / 0.6031 GB, free: 14.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.3511, allocations: 230.9 kB / 0.6034 GB, free: 14.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.3536, allocations: 1.781 MB / 0.6051 GB, free: 12.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.3537, allocations: 57.7 kB / 0.6052 GB, free: 12.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.3551, allocations: 1.509 MB / 0.6066 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004526/0.3556, allocations: 0.5191 MB / 0.6071 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005128/0.3561, allocations: 347.4 kB / 0.6075 GB, free: 9.996 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3562, allocations: 305.1 kB / 0.6078 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.3573, allocations: 0.6871 MB / 0.6084 GB, free: 9.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.359, allocations: 1.347 MB / 0.6097 GB, free: 7.379 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/0.3618, allocations: 2.118 MB / 0.6118 GB, free: 5.004 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.3618, allocations: 4 kB / 0.6118 GB, free: 5 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.004272/0.3661, allocations: 2.657 MB / 0.6144 GB, free: 2.301 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.3661, allocations: 16 kB / 0.6144 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/0.3662, allocations: 16 kB / 0.6144 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009433/0.3671, allocations: 376.1 kB / 0.6148 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.3684, allocations: 387.4 kB / 0.6152 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008065/0.3765, allocations: 8.45 MB / 0.6234 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.3778, allocations: 104 kB / 0.6235 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.378, allocations: 80 kB / 0.6236 GB, free: 8.32 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.001613/0.3796, allocations: 1.04 MB / 0.6246 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.3799, allocations: 202.7 kB / 0.6248 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/0.3839, allocations: 2.345 MB / 0.6271 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.3839, allocations: 12 kB / 0.6271 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.3839, allocations: 8 kB / 0.6271 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.3839, allocations: 11.97 kB / 0.6271 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007532/0.3915, allocations: 5.126 MB / 0.6321 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.3915, allocations: 4 kB / 0.6321 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000737/0.3922, allocations: 175.8 kB / 0.6323 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/0.3936, allocations: 0.5282 MB / 0.6328 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.835e-05/0.3937, allocations: 47.91 kB / 0.6329 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/0.4065, allocations: 13.25 MB / 0.6458 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4066, allocations: 0 / 0.6458 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005159/0.4117, allocations: 3.285 MB / 0.649 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007695/0.4125, allocations: 439.8 kB / 0.6494 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.4128, allocations: 55.86 kB / 0.6495 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007657/0.4136, allocations: 55.97 kB / 0.6495 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/0.4138, allocations: 121.1 kB / 0.6497 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.177e-05/0.4139, allocations: 40.03 kB / 0.6497 GB, free: 12.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001691/0.4156, allocations: 1.211 MB / 0.6509 GB, free: 11.21 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4156, allocations: 384 / 0.6509 GB, free: 11.21 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001905/0.4175, allocations: 0.5977 MB / 0.6515 GB, free: 10.61 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.0003155/0.4179, allocations: 182.9 kB / 0.6516 GB, free: 10.42 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003534/0.4214, allocations: 2.42 MB / 0.654 GB, free: 7.93 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4214, allocations: 0 / 0.654 GB, free: 7.93 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002536/0.424, allocations: 1.808 MB / 0.6558 GB, free: 6.047 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.426, allocations: 0.5558 MB / 0.6563 GB, free: 5.496 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1703/0.5964, allocations: 5.962 MB / 0.6621 GB, free: 131.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/0.5986, allocations: 2.287 MB / 0.6644 GB, free: 131 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004855/0.599, allocations: 136.5 kB / 0.6645 GB, free: 131 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5991, allocations: 0 / 0.6645 GB, free: 131 MB / 478.1 MB Notification: Performance of Templates: time 0.07848/0.6775, allocations: 130.6 MB / 0.7921 GB, free: 10.42 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: 11.916666995035484] Failed to read output from testmodel.py, exit status != 0: 0.682934497948736 0.692122154 0.41891087400000004 Calling exit ...