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.001305/0.001305, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.487/1.487, allocations: 225.6 MB / 245.5 MB, free: 14.17 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.001665/0.001665, allocations: 199.1 kB / 300.5 MB, free: 9.836 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.0413/0.0413, allocations: 8.928 MB / 364.3 MB, free: 10.19 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.002362/0.002362, allocations: 88.77 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1198, allocations: 54.41 MB / 0.529 GB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.05224/0.1721, allocations: 45.5 MB / 0.5734 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02852/0.2006, allocations: 11.82 MB / 0.5849 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01132/0.2119, allocations: 358.8 kB / 0.5853 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03273/0.2446, allocations: 12.5 MB / 0.5975 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01986/0.2645, allocations: 4.91 MB / 0.6023 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01132/0.2758, allocations: 2.936 MB / 0.6051 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03554/0.3113, allocations: 20.93 MB / 0.6256 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.6396/0.9509, allocations: 31.61 MB / 0.6565 GB, free: 9.312 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02182/0.9727, allocations: 10.99 MB / 0.6672 GB, free: 8.492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02432/0.997, allocations: 12.15 MB / 0.679 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01238/1.009, allocations: 3.135 MB / 0.6821 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01606/1.025, allocations: 3.544 MB / 0.6856 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01569/1.041, allocations: 6.273 MB / 0.6917 GB, free: 2.914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03466/1.076, allocations: 11.96 MB / 0.7034 GB, free: 7.938 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06698/1.143, allocations: 41.53 MB / 0.7439 GB, free: 1.156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.143, allocations: 0 / 0.7439 GB, free: 1.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/1.143, allocations: 0 / 0.7439 GB, free: 1.156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001702/1.145, allocations: 0 / 0.7439 GB, free: 1.156 MB / 494.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.08977/1.234, allocations: 24.33 MB / 0.7677 GB, free: 8.848 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.234, allocations: 12.03 kB / 0.7677 GB, free: 8.836 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06394/1.298, allocations: 11.44 MB / 0.7789 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0428/1.341, allocations: 13.46 MB / 0.792 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001974/1.343, allocations: 1.358 MB / 0.7933 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009826/1.353, allocations: 1.798 MB / 0.7951 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09537/1.448, allocations: 29.57 MB / 0.824 GB, free: 15.75 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009605/1.449, allocations: 36.08 kB / 0.824 GB, free: 15.73 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008118/1.457, allocations: 0.741 MB / 0.8247 GB, free: 15.01 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001311/1.459, allocations: 0.9907 MB / 0.8257 GB, free: 14.01 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07272/1.531, allocations: 27.29 MB / 0.8524 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7495/2.281, allocations: 93.15 MB / 0.9433 GB, free: 133.7 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03104/2.312, allocations: 51.11 MB / 0.9932 GB, free: 82.3 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01032/2.322, allocations: 6.659 MB / 0.9997 GB, free: 75.63 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03848/2.361, allocations: 20.05 MB / 1.019 GB, free: 55.93 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.318e-05/2.361, allocations: 111.4 kB / 1.019 GB, free: 55.82 MB / 0.592 GB Notification: Performance of pre-optimization done (n=677): time 8.686e-06/2.361, allocations: 3.938 kB / 1.019 GB, free: 55.81 MB / 0.592 GB Notification: Performance of matching and sorting (n=685): time 0.08048/2.441, allocations: 38.45 MB / 1.057 GB, free: 17.71 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/2.441, allocations: 151 kB / 1.057 GB, free: 17.54 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/2.453, allocations: 7.113 MB / 1.064 GB, free: 10.52 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.001506/2.454, allocations: 137.7 kB / 1.064 GB, free: 10.38 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.004622/2.459, allocations: 8.066 MB / 1.072 GB, free: 3.012 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002921/2.462, allocations: 2.444 MB / 1.074 GB, free: 0.6016 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004955/2.467, allocations: 1.875 MB / 1.076 GB, free: 14.71 MB / 0.6077 GB Notification: Performance of setup shared object (initialization): time 0.0001576/2.467, allocations: 301.1 kB / 1.077 GB, free: 14.42 MB / 0.6077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009726/2.477, allocations: 4.86 MB / 1.081 GB, free: 9.551 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2822/2.759, allocations: 8.329 MB / 1.089 GB, free: 194 MB / 0.6077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01941/2.778, allocations: 14 MB / 1.103 GB, free: 187.6 MB / 0.6077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/2.778, allocations: 31.69 kB / 1.103 GB, free: 187.6 MB / 0.6077 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.02592/2.804, allocations: 16.03 MB / 1.119 GB, free: 181.4 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 8.838e-05/2.804, allocations: 56.38 kB / 1.119 GB, free: 181.4 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/2.805, allocations: 111.1 kB / 1.119 GB, free: 181.4 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005655/2.81, allocations: 2.578 MB / 1.121 GB, free: 180.7 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007937/2.818, allocations: 2.105 MB / 1.124 GB, free: 180.4 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0294/2.848, allocations: 30.8 MB / 1.154 GB, free: 160.1 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007389/2.855, allocations: 0.5296 MB / 1.154 GB, free: 160 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001522/2.856, allocations: 459.5 kB / 1.155 GB, free: 159.9 MB / 0.6077 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.01058/2.867, allocations: 6.761 MB / 1.161 GB, free: 155.5 MB / 0.6077 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001799/2.869, allocations: 0.8048 MB / 1.162 GB, free: 155.2 MB / 0.6077 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01908/2.888, allocations: 13 MB / 1.175 GB, free: 144.2 MB / 0.6077 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01121/2.899, allocations: 8.156 MB / 1.183 GB, free: 137.1 MB / 0.6077 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-05/2.899, allocations: 28 kB / 1.183 GB, free: 137.1 MB / 0.6077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.965e-05/2.899, allocations: 34.5 kB / 1.183 GB, free: 137.1 MB / 0.6077 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04747/2.947, allocations: 27.85 MB / 1.21 GB, free: 111.1 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-05/2.947, allocations: 4 kB / 1.21 GB, free: 111.1 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004696/2.952, allocations: 1.116 MB / 1.211 GB, free: 110 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005834/2.957, allocations: 2.624 MB / 1.214 GB, free: 107.3 MB / 0.6077 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001125/2.958, allocations: 152 kB / 1.214 GB, free: 107.2 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03062/2.989, allocations: 35.88 MB / 1.249 GB, free: 70.16 MB / 0.6077 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/2.989, allocations: 7.938 kB / 1.249 GB, free: 70.15 MB / 0.6077 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02675/3.016, allocations: 18.74 MB / 1.267 GB, free: 51.24 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005506/3.021, allocations: 1.798 MB / 1.269 GB, free: 49.42 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002253/3.024, allocations: 124 kB / 1.269 GB, free: 49.3 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004578/3.028, allocations: 403.4 kB / 1.269 GB, free: 48.91 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001349/3.03, allocations: 0.5256 MB / 1.27 GB, free: 48.38 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004562/3.03, allocations: 196 kB / 1.27 GB, free: 48.19 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.007355/3.037, allocations: 4.789 MB / 1.275 GB, free: 43.43 MB / 0.6077 GB Notification: Performance of sort global known variables: time 3.71e-07/3.037, allocations: 0 / 1.275 GB, free: 43.43 MB / 0.6077 GB Notification: Performance of remove unused functions: time 0.01326/3.051, allocations: 3.065 MB / 1.278 GB, free: 40.37 MB / 0.6077 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.001795/3.052, allocations: 362.5 kB / 1.278 GB, free: 40.03 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.0189/3.071, allocations: 12.86 MB / 1.291 GB, free: 26.99 MB / 0.6077 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/3.071, allocations: 0 / 1.291 GB, free: 26.99 MB / 0.6077 GB Notification: Performance of simCode: created simulation system equations: time 0.01093/3.082, allocations: 7.126 MB / 1.298 GB, free: 19.71 MB / 0.6077 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01206/3.094, allocations: 2.151 MB / 1.3 GB, free: 17.62 MB / 0.6077 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3241/3.418, allocations: 31.92 MB / 1.331 GB, free: 176.2 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01822/3.437, allocations: 10.99 MB / 1.342 GB, free: 175.2 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002932/3.44, allocations: 0.6392 MB / 1.342 GB, free: 175.2 MB / 0.6077 GB Notification: Performance of SimCode: time 1.433e-06/3.44, allocations: 0 / 1.342 GB, free: 175.2 MB / 0.6077 GB Notification: Performance of Templates: time 2.464/5.904, allocations: 1.23 GB / 2.572 GB, free: 184 MB / 0.6545 GB " [Timeout remaining time 654] 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: 36.314794313002494] Failed to read output from testmodel.py, exit status != 0: 6.1160258520103525 5.921062242 4.775606129 Calling exit ...