Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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.001392/0.001392, allocations: 103.8 kB / 17.07 MB, free: 6.012 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.293/1.293, allocations: 222.9 MB / 242.7 MB, free: 15.22 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.001411/0.001411, allocations: 187.6 kB / 295 MB, free: 12.68 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.03864/0.03864, allocations: 8.787 MB / 356 MB, free: 15.93 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.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 87.86 kB / 473.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2178, allocations: 51.55 MB / 0.5126 GB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.02716/0.245, allocations: 25.45 MB / 0.5375 GB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01541/0.2605, allocations: 7.952 MB / 0.5452 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004176/0.2647, allocations: 175.5 kB / 0.5454 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01704/0.2818, allocations: 7.636 MB / 0.5528 GB, free: 3.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009335/0.2911, allocations: 3.049 MB / 0.5558 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005743/0.2969, allocations: 2.02 MB / 0.5578 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01238/0.3093, allocations: 9.22 MB / 0.5668 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02616/0.3355, allocations: 17.28 MB / 0.5837 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007238/0.3427, allocations: 4.738 MB / 0.5883 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008212/0.351, allocations: 5.24 MB / 0.5934 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003231/0.3542, allocations: 1.352 MB / 0.5947 GB, free: 8.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004477/0.3587, allocations: 1.722 MB / 0.5964 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003792/0.3625, allocations: 2.669 MB / 0.599 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007589/0.3701, allocations: 5.086 MB / 0.604 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02045/0.3906, allocations: 18.19 MB / 0.6218 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3907, allocations: 0 / 0.6218 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.1e-06/0.3907, allocations: 0 / 0.6218 GB, free: 12.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004974/0.3912, allocations: 3.938 kB / 0.6218 GB, free: 12.86 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.02899/0.4202, allocations: 10.95 MB / 0.6325 GB, free: 1.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.4202, allocations: 8.031 kB / 0.6325 GB, free: 1.809 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03056/0.4508, allocations: 5.711 MB / 0.638 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/0.4625, allocations: 5.822 MB / 0.6437 GB, free: 6.207 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005276/0.463, allocations: 0.5819 MB / 0.6443 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002293/0.4653, allocations: 0.7655 MB / 0.645 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02659/0.4919, allocations: 12.75 MB / 0.6575 GB, free: 8.047 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002155/0.4922, allocations: 11.94 kB / 0.6575 GB, free: 8.035 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001392/0.4936, allocations: 324 kB / 0.6578 GB, free: 7.719 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005127/0.4941, allocations: 0.4967 MB / 0.6583 GB, free: 7.219 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3539/0.848, allocations: 12.25 MB / 0.6703 GB, free: 119.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05033/0.8984, allocations: 43.35 MB / 0.7126 GB, free: 88.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01507/0.9135, allocations: 25.18 MB / 0.7372 GB, free: 59.99 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003674/0.9172, allocations: 2.967 MB / 0.7401 GB, free: 57.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/0.9175, allocations: 247.7 kB / 0.7403 GB, free: 56.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002808/0.9203, allocations: 2.582 MB / 0.7428 GB, free: 54.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=391): time 4.879e-06/0.9204, allocations: 0 / 0.7428 GB, free: 54.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=397): time 0.02857/0.9489, allocations: 18.42 MB / 0.7608 GB, free: 35.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/0.9491, allocations: 359.4 kB / 0.7612 GB, free: 35.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003618/0.9527, allocations: 3.529 MB / 0.7646 GB, free: 31.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003796/0.9531, allocations: 85.7 kB / 0.7647 GB, free: 31.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.9543, allocations: 3.491 MB / 0.7681 GB, free: 28.56 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008569/0.9551, allocations: 1.415 MB / 0.7695 GB, free: 27.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001219/0.9564, allocations: 1.093 MB / 0.7706 GB, free: 26.06 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.386e-05/0.9564, allocations: 309.1 kB / 0.7709 GB, free: 25.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002835/0.9593, allocations: 2.545 MB / 0.7733 GB, free: 23.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003433/0.9627, allocations: 4.513 MB / 0.7777 GB, free: 17.81 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006685/0.9694, allocations: 7.451 MB / 0.785 GB, free: 9.484 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.16e-05/0.9695, allocations: 16 kB / 0.785 GB, free: 9.469 MB / 478.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01031/0.9798, allocations: 8.286 MB / 0.7931 GB, free: 1.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.9799, allocations: 57.7 kB / 0.7932 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.298e-05/0.9799, allocations: 64.31 kB / 0.7932 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002274/0.9822, allocations: 1.002 MB / 0.7942 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004349/0.9866, allocations: 1.267 MB / 0.7955 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.9997, allocations: 8.81 MB / 0.8041 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003994/1.004, allocations: 355.5 kB / 0.8044 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007599/1.005, allocations: 272 kB / 0.8047 GB, free: 5.199 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,48,52.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004669/1.009, allocations: 2.902 MB / 0.8075 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008681/1.01, allocations: 409.4 kB / 0.8079 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/1.021, allocations: 6.176 MB / 0.8139 GB, free: 11.64 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/1.021, allocations: 40 kB / 0.814 GB, free: 11.61 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/1.021, allocations: 19.88 kB / 0.814 GB, free: 11.59 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.575e-05/1.021, allocations: 19.92 kB / 0.814 GB, free: 11.57 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02392/1.045, allocations: 14.65 MB / 0.8283 GB, free: 12.84 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/1.045, allocations: 4 kB / 0.8283 GB, free: 12.84 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002585/1.047, allocations: 0.6826 MB / 0.829 GB, free: 12.16 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002386/1.05, allocations: 0.8733 MB / 0.8298 GB, free: 11.28 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000228/1.05, allocations: 91.97 kB / 0.8299 GB, free: 11.19 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/1.061, allocations: 7.76 MB / 0.8375 GB, free: 3.293 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/1.061, allocations: 11.94 kB / 0.8375 GB, free: 3.281 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/1.075, allocations: 8.792 MB / 0.8461 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/1.077, allocations: 0.9279 MB / 0.847 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005099/1.077, allocations: 83.98 kB / 0.8471 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/1.079, allocations: 195.8 kB / 0.8473 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005562/1.08, allocations: 271.1 kB / 0.8475 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/1.08, allocations: 112 kB / 0.8476 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003542/1.084, allocations: 2.367 MB / 0.8499 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/1.084, allocations: 0 / 0.8499 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004338/1.088, allocations: 1.453 MB / 0.8514 GB, free: 4.949 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005082/1.089, allocations: 253.4 kB / 0.8516 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.099, allocations: 6.483 MB / 0.8579 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.099, allocations: 4 kB / 0.8579 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005011/1.104, allocations: 3.083 MB / 0.8609 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/1.108, allocations: 0.8125 MB / 0.8617 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1987/1.306, allocations: 13.75 MB / 0.8752 GB, free: 185.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003927/1.31, allocations: 4.856 MB / 0.8799 GB, free: 184.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/1.312, allocations: 377.9 kB / 0.8803 GB, free: 184.7 MB / 0.545 GB Notification: Performance of SimCode: time 8.02e-07/1.312, allocations: 3.938 kB / 0.8803 GB, free: 184.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1165/1.428, allocations: 132.3 MB / 1.009 GB, free: 68.95 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.829033312154934] Failed to read output from testmodel.py, exit status != 0: 1.4336255579255521 1.4414134840000001 1.0491087080000001 Calling exit ...