Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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.001462/0.001462, allocations: 111.6 kB / 17.08 MB, free: 5.98 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.263/1.263, 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.001392/0.001392, allocations: 188 kB / 295 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.03839/0.03839, allocations: 8.796 MB / 356 MB, free: 15.9 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.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002224, allocations: 87.86 kB / 473.3 MB, free: 5.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2136, allocations: 51.56 MB / 0.5126 GB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.04711/0.2607, allocations: 45.31 MB / 0.5568 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02323/0.284, allocations: 11.8 MB / 0.5684 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007398/0.2914, allocations: 358.8 kB / 0.5687 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02689/0.3183, allocations: 12.33 MB / 0.5807 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01591/0.3342, allocations: 4.812 MB / 0.5854 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008248/0.3425, allocations: 2.918 MB / 0.5883 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02635/0.3689, allocations: 20.95 MB / 0.6087 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05945/0.4284, allocations: 41.94 MB / 0.6497 GB, free: 72 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01635/0.4448, allocations: 10.93 MB / 0.6604 GB, free: 5.113 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3762/0.821, allocations: 12.02 MB / 0.6721 GB, free: 49.28 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007563/0.8286, allocations: 3.135 MB / 0.6752 GB, free: 49.28 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01029/0.8389, allocations: 3.535 MB / 0.6786 GB, free: 49.28 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008417/0.8473, allocations: 6.245 MB / 0.6847 GB, free: 49.28 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01871/0.8661, allocations: 11.9 MB / 0.6963 GB, free: 46.32 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0348/0.9009, allocations: 41.53 MB / 0.7369 GB, free: 20.8 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.9009, allocations: 2.844 kB / 0.7369 GB, free: 20.8 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.9009, allocations: 0 / 0.7369 GB, free: 20.8 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.00104/0.902, allocations: 0 / 0.7369 GB, free: 20.8 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.06036/0.9624, allocations: 24.33 MB / 0.7607 GB, free: 15.22 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.9624, allocations: 12.03 kB / 0.7607 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05978/1.022, allocations: 11.44 MB / 0.7718 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02688/1.049, allocations: 13.46 MB / 0.785 GB, free: 6.898 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001358/1.051, allocations: 1.361 MB / 0.7863 GB, free: 5.555 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006187/1.057, allocations: 1.792 MB / 0.7881 GB, free: 3.781 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07007/1.127, allocations: 29.58 MB / 0.817 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005966/1.127, allocations: 27.27 kB / 0.817 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00532/1.133, allocations: 0.7388 MB / 0.8177 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001074/1.134, allocations: 0.9907 MB / 0.8187 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05588/1.19, allocations: 27.3 MB / 0.8453 GB, free: 9.07 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3432/1.533, allocations: 93.15 MB / 0.9363 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02809/1.561, allocations: 51.96 MB / 0.987 GB, free: 118.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009376/1.571, allocations: 7.291 MB / 0.9942 GB, free: 114.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02596/1.597, allocations: 20.04 MB / 1.014 GB, free: 101.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/1.597, allocations: 111.5 kB / 1.014 GB, free: 101.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=677): time 6.993e-06/1.597, allocations: 0 / 1.014 GB, free: 101.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=685): time 0.07279/1.669, allocations: 38.53 MB / 1.051 GB, free: 64.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/1.67, allocations: 158.7 kB / 1.052 GB, free: 64.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008423/1.678, allocations: 7.114 MB / 1.059 GB, free: 57.26 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001151/1.679, allocations: 137.7 kB / 1.059 GB, free: 57.12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003117/1.682, allocations: 8.072 MB / 1.067 GB, free: 49.03 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001964/1.684, allocations: 2.436 MB / 1.069 GB, free: 46.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002626/1.687, allocations: 1.879 MB / 1.071 GB, free: 44.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.865e-05/1.687, allocations: 301.1 kB / 1.071 GB, free: 44.44 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006028/1.693, allocations: 4.856 MB / 1.076 GB, free: 39.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007229/1.7, allocations: 8.333 MB / 1.084 GB, free: 29.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0136/1.714, allocations: 14 MB / 1.098 GB, free: 14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.206e-05/1.714, allocations: 32 kB / 1.098 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.2303/1.944, allocations: 16.1 MB / 1.113 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-05/1.944, allocations: 56.09 kB / 1.113 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001652/1.945, allocations: 111.6 kB / 1.114 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00584/1.95, allocations: 2.578 MB / 1.116 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007088/1.958, allocations: 2.104 MB / 1.118 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02769/1.985, allocations: 30.81 MB / 1.148 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006709/1.992, allocations: 0.5312 MB / 1.149 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001383/1.993, allocations: 456 kB / 1.149 GB, free: 167.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1089): * Single equations (assignments): 1079 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(1,1,100.0%), (18,100,38.3%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009383/2.003, allocations: 6.764 MB / 1.156 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/2.004, allocations: 0.8014 MB / 1.157 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01776/2.022, allocations: 13.08 MB / 1.169 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01019/2.032, allocations: 8.216 MB / 1.177 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-05/2.032, allocations: 26.69 kB / 1.177 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.668e-05/2.032, allocations: 34.59 kB / 1.177 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03751/2.07, allocations: 27.93 MB / 1.205 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-05/2.07, allocations: 7.938 kB / 1.205 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004087/2.074, allocations: 1.108 MB / 1.206 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005415/2.08, allocations: 2.637 MB / 1.208 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006965/2.08, allocations: 148 kB / 1.208 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02794/2.108, allocations: 35.89 MB / 1.244 GB, free: 94.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/2.108, allocations: 4 kB / 1.244 GB, free: 94.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02286/2.131, allocations: 18.82 MB / 1.262 GB, free: 75.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003757/2.135, allocations: 1.794 MB / 1.264 GB, free: 74.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001425/2.136, allocations: 132 kB / 1.264 GB, free: 74.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003796/2.14, allocations: 391.6 kB / 1.264 GB, free: 73.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/2.141, allocations: 0.5258 MB / 1.265 GB, free: 73.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003927/2.142, allocations: 196.3 kB / 1.265 GB, free: 72.99 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00627/2.148, allocations: 4.789 MB / 1.27 GB, free: 68.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.41e-07/2.148, allocations: 0 / 1.27 GB, free: 68.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01005/2.158, allocations: 3.06 MB / 1.273 GB, free: 65.18 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.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 simulation (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001297/2.159, allocations: 365.7 kB / 1.273 GB, free: 64.83 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01642/2.176, allocations: 13.39 MB / 1.286 GB, free: 51.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/2.176, allocations: 7 kB / 1.286 GB, free: 51.26 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009235/2.185, allocations: 7.562 MB / 1.293 GB, free: 43.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009157/2.194, allocations: 2.154 MB / 1.295 GB, free: 41.44 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0438/2.238, allocations: 31.91 MB / 1.327 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2113/2.449, allocations: 10.99 MB / 1.337 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002508/2.452, allocations: 0.6372 MB / 1.338 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/2.452, allocations: 0 / 1.338 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of Templates: time 1.989/4.441, allocations: 1.229 GB / 2.567 GB, free: 163.1 MB / 0.6388 GB " [Timeout remaining time 656] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Start.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 27.538223694078624] Failed to read output from testmodel.py, exit status != 0: 4.446128253126517 4.454324594 3.551752168 Calling exit ...