Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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.001441/0.001441, allocations: 111.9 kB / 17.08 MB, free: 5.961 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.26/1.26, allocations: 222.9 MB / 242.7 MB, free: 15.2 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.001362/0.001362, allocations: 187.6 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.03803/0.03803, allocations: 8.8 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.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 87.86 kB / 473.4 MB, free: 5.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2204, allocations: 51.55 MB / 0.5126 GB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.02719/0.2477, allocations: 25.45 MB / 0.5375 GB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01497/0.2627, allocations: 7.952 MB / 0.5452 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003618/0.2663, allocations: 175.5 kB / 0.5454 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01698/0.2833, allocations: 7.635 MB / 0.5528 GB, free: 3.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009289/0.2926, allocations: 3.053 MB / 0.5558 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005387/0.298, allocations: 2.006 MB / 0.5578 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01282/0.3109, allocations: 9.229 MB / 0.5668 GB, free: 5.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02571/0.3366, allocations: 17.27 MB / 0.5837 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007227/0.3439, allocations: 4.746 MB / 0.5883 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008082/0.352, allocations: 5.244 MB / 0.5934 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003331/0.3554, allocations: 1.352 MB / 0.5947 GB, free: 8.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004852/0.3602, allocations: 1.714 MB / 0.5964 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004013/0.3643, allocations: 2.673 MB / 0.599 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008118/0.3724, allocations: 5.086 MB / 0.604 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02146/0.3939, allocations: 18.19 MB / 0.6218 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3939, allocations: 0 / 0.6218 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3939, allocations: 0 / 0.6218 GB, free: 12.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003286/0.3943, allocations: 0 / 0.6218 GB, free: 12.87 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.02838/0.4227, allocations: 10.95 MB / 0.6324 GB, free: 1.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.4227, allocations: 11.97 kB / 0.6325 GB, free: 1.809 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03064/0.4534, allocations: 5.715 MB / 0.638 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.4645, allocations: 5.826 MB / 0.6437 GB, free: 6.191 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004928/0.465, allocations: 0.5741 MB / 0.6443 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001972/0.467, allocations: 0.7655 MB / 0.645 GB, free: 4.852 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02298/0.49, allocations: 12.76 MB / 0.6575 GB, free: 8.031 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.4902, allocations: 7.953 kB / 0.6575 GB, free: 8.023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008765/0.4911, allocations: 324 kB / 0.6578 GB, free: 7.707 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005001/0.4916, allocations: 0.4928 MB / 0.6583 GB, free: 7.211 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3394/0.831, allocations: 12.25 MB / 0.6703 GB, free: 119.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04576/0.8768, allocations: 43.36 MB / 0.7126 GB, free: 88.03 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01522/0.8921, allocations: 25.18 MB / 0.7372 GB, free: 59.99 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003495/0.8956, allocations: 2.963 MB / 0.7401 GB, free: 57.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002837/0.8959, allocations: 243.6 kB / 0.7403 GB, free: 56.76 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002648/0.8985, allocations: 2.583 MB / 0.7428 GB, free: 54.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=391): time 4.739e-06/0.8986, allocations: 3.062 kB / 0.7428 GB, free: 54.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=397): time 0.0279/0.9265, allocations: 18.41 MB / 0.7608 GB, free: 35.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.9265, allocations: 363.5 kB / 0.7612 GB, free: 35.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003427/0.93, allocations: 3.53 MB / 0.7646 GB, free: 32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002401/0.9302, allocations: 85.7 kB / 0.7647 GB, free: 31.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.9314, allocations: 3.499 MB / 0.7681 GB, free: 28.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006428/0.932, allocations: 1.416 MB / 0.7695 GB, free: 27.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.9332, allocations: 1.089 MB / 0.7706 GB, free: 26.06 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 2.971e-05/0.9332, allocations: 301.1 kB / 0.7708 GB, free: 25.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002638/0.9359, allocations: 2.549 MB / 0.7733 GB, free: 23.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00326/0.9391, allocations: 4.517 MB / 0.7777 GB, free: 17.81 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006263/0.9454, allocations: 7.447 MB / 0.785 GB, free: 9.492 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-05/0.9455, allocations: 23.98 kB / 0.785 GB, free: 9.469 MB / 478.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.009867/0.9553, allocations: 8.29 MB / 0.7931 GB, free: 1.156 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/0.9554, allocations: 57.7 kB / 0.7932 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.187e-05/0.9555, allocations: 60 kB / 0.7932 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/0.9578, allocations: 0.9984 MB / 0.7942 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004406/0.9622, allocations: 1.252 MB / 0.7954 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/0.9753, allocations: 8.826 MB / 0.8041 GB, free: 5.816 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003967/0.9793, allocations: 355.5 kB / 0.8044 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006573/0.9799, allocations: 264 kB / 0.8047 GB, free: 5.211 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.004711/0.9847, allocations: 2.914 MB / 0.8075 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009186/0.9856, allocations: 409.4 kB / 0.8079 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/0.9962, allocations: 6.172 MB / 0.8139 GB, free: 11.65 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.619e-05/0.9963, allocations: 47.98 kB / 0.814 GB, free: 11.6 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.9963, allocations: 15.94 kB / 0.814 GB, free: 11.59 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-05/0.9964, allocations: 23.92 kB / 0.814 GB, free: 11.56 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02567/1.022, allocations: 14.64 MB / 0.8283 GB, free: 12.84 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/1.022, allocations: 4.062 kB / 0.8283 GB, free: 12.84 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002725/1.025, allocations: 0.6826 MB / 0.829 GB, free: 12.16 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002428/1.027, allocations: 0.8809 MB / 0.8298 GB, free: 11.27 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003373/1.028, allocations: 91.97 kB / 0.8299 GB, free: 11.18 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/1.039, allocations: 7.758 MB / 0.8375 GB, free: 3.289 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/1.039, allocations: 11.97 kB / 0.8375 GB, free: 3.277 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/1.053, allocations: 8.793 MB / 0.8461 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/1.055, allocations: 0.9278 MB / 0.847 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008581/1.056, allocations: 79.98 kB / 0.8471 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002217/1.058, allocations: 191.8 kB / 0.8473 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005981/1.059, allocations: 279.1 kB / 0.8475 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002509/1.059, allocations: 108 kB / 0.8476 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004348/1.064, allocations: 2.363 MB / 0.8499 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/1.064, allocations: 0 / 0.8499 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00486/1.069, 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.0005764/1.069, allocations: 256.4 kB / 0.8516 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01101/1.08, allocations: 6.486 MB / 0.8579 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.08, allocations: 0 / 0.8579 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005296/1.085, 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.004364/1.09, allocations: 0.8141 MB / 0.8617 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2075/1.297, allocations: 13.75 MB / 0.8752 GB, free: 185.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003932/1.301, allocations: 4.859 MB / 0.8799 GB, free: 184.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/1.303, allocations: 373 kB / 0.8803 GB, free: 184.7 MB / 0.545 GB Notification: Performance of SimCode: time 8.31e-07/1.303, allocations: 0 / 0.8803 GB, free: 184.7 MB / 0.545 GB Notification: Performance of Templates: time 0.114/1.417, allocations: 132.3 MB / 1.009 GB, free: 68.96 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.733743031974882] Failed to read output from testmodel.py, exit status != 0: 1.4221024939324707 1.430271813 1.034729156 Calling exit ...