Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 252.7 MB, free: 14.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 223.1 kB / 309.2 MB, free: 3.117 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.052/0.052, allocations: 8.923 MB / 374.6 MB, free: 6.602 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002736/0.002736, allocations: 85.75 kB / 0.4897 GB, free: 44.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08979/0.09252, allocations: 55.61 MB / 0.544 GB, free: 4.523 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.2456/0.3381, allocations: 21.99 MB / 0.5654 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.3526, allocations: 7.711 MB / 0.573 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005674/0.3582, allocations: 201.7 kB / 0.5732 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01999/0.3782, allocations: 7.16 MB / 0.5802 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01135/0.3896, allocations: 3.103 MB / 0.5832 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007424/0.397, allocations: 2.005 MB / 0.5851 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01384/0.4109, allocations: 9.395 MB / 0.5943 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0249/0.4358, allocations: 11.2 MB / 0.6053 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00912/0.4449, allocations: 4.879 MB / 0.61 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01083/0.4557, allocations: 5.045 MB / 0.6149 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003806/0.4595, allocations: 1.359 MB / 0.6163 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006139/0.4656, allocations: 1.714 MB / 0.6179 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004838/0.4705, allocations: 2.685 MB / 0.6206 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009778/0.4803, allocations: 3.95 MB / 0.6244 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02454/0.5048, allocations: 18.29 MB / 0.6423 GB, free: 8.695 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5048, allocations: 0 / 0.6423 GB, free: 8.695 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5048, allocations: 0 / 0.6423 GB, free: 8.695 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004687/0.5053, allocations: 0 / 0.6423 GB, free: 8.695 MB / 430.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.03313/0.5384, allocations: 10.88 MB / 0.6529 GB, free: 13.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.5384, allocations: 19.98 kB / 0.6529 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03441/0.5729, allocations: 5.665 MB / 0.6585 GB, free: 8.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01527/0.5881, allocations: 5.836 MB / 0.6642 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008436/0.589, allocations: 0.5819 MB / 0.6647 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004321/0.5933, allocations: 0.7655 MB / 0.6655 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03549/0.6288, allocations: 12.97 MB / 0.6781 GB, free: 3.723 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003279/0.6291, allocations: 19.84 kB / 0.6782 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002483/0.6316, allocations: 324 kB / 0.6785 GB, free: 3.387 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006396/0.6322, allocations: 0.4967 MB / 0.679 GB, free: 2.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03136/0.6636, allocations: 12.23 MB / 0.6909 GB, free: 6.637 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08123/0.7448, allocations: 36.67 MB / 0.7267 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02016/0.765, allocations: 8.919 MB / 0.7354 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005558/0.7705, allocations: 2.718 MB / 0.7381 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005171/0.771, allocations: 106.9 kB / 0.7382 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005435/0.7765, allocations: 2.783 MB / 0.7409 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=391): time 1.006e-05/0.7765, allocations: 0 / 0.7409 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of matching and sorting (n=397): time 0.05299/0.8295, allocations: 18.3 MB / 0.7588 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000289/0.8298, allocations: 355.5 kB / 0.7591 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006535/0.8363, allocations: 3.369 MB / 0.7624 GB, free: 13.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008369/0.8371, allocations: 89.7 kB / 0.7625 GB, free: 13.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003285/0.8404, allocations: 3.513 MB / 0.7659 GB, free: 9.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002098/0.8425, allocations: 1.418 MB / 0.7673 GB, free: 8.051 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002137/0.8447, allocations: 1.097 MB / 0.7684 GB, free: 6.945 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.8448, allocations: 305.1 kB / 0.7687 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005124/0.8499, allocations: 2.581 MB / 0.7712 GB, free: 4.051 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2658/1.116, allocations: 4.718 MB / 0.7758 GB, free: 164.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009755/1.125, allocations: 7.466 MB / 0.7831 GB, free: 161.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/1.126, allocations: 17.34 kB / 0.7831 GB, free: 161.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01722/1.143, allocations: 8.293 MB / 0.7912 GB, free: 159.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/1.143, allocations: 58.81 kB / 0.7912 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001718/1.143, allocations: 65.55 kB / 0.7913 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/1.146, allocations: 0.9897 MB / 0.7923 GB, free: 158.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005095/1.151, allocations: 1.269 MB / 0.7935 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/1.164, allocations: 8.51 MB / 0.8018 GB, free: 154.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004731/1.169, allocations: 358.7 kB / 0.8022 GB, free: 154.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008926/1.17, allocations: 272.8 kB / 0.8024 GB, free: 154 MB / 0.545 GB 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.005433/1.175, allocations: 2.901 MB / 0.8053 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/1.176, allocations: 382.7 kB / 0.8056 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/1.186, allocations: 6.169 MB / 0.8117 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/1.186, allocations: 51.12 kB / 0.8117 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/1.186, allocations: 9.938 kB / 0.8117 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-05/1.187, allocations: 17.95 kB / 0.8117 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01985/1.206, allocations: 12.74 MB / 0.8242 GB, free: 144.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/1.206, allocations: 4.531 kB / 0.8242 GB, free: 144.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/1.209, allocations: 0.6932 MB / 0.8249 GB, free: 144.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/1.211, allocations: 0.8697 MB / 0.8257 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004092/1.212, allocations: 88.81 kB / 0.8258 GB, free: 144.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009477/1.221, allocations: 7.469 MB / 0.8331 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/1.221, allocations: 16.03 kB / 0.8331 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/1.234, allocations: 8.811 MB / 0.8417 GB, free: 131.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/1.236, allocations: 0.8348 MB / 0.8425 GB, free: 130.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009463/1.237, allocations: 79.94 kB / 0.8426 GB, free: 130.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/1.24, allocations: 187.8 kB / 0.8428 GB, free: 130.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005537/1.24, allocations: 295 kB / 0.8431 GB, free: 129.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002033/1.24, allocations: 122.7 kB / 0.8432 GB, free: 129.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002905/1.243, allocations: 2.169 MB / 0.8453 GB, free: 127.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.243, allocations: 0 / 0.8453 GB, free: 127.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006019/1.249, allocations: 1.451 MB / 0.8467 GB, free: 126.1 MB / 0.545 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.0007723/1.25, allocations: 254.5 kB / 0.847 GB, free: 125.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.26, allocations: 6.275 MB / 0.8531 GB, free: 119.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/1.26, allocations: 4.438 kB / 0.8531 GB, free: 119.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005755/1.266, allocations: 2.916 MB / 0.8559 GB, free: 116.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003843/1.27, allocations: 0.7178 MB / 0.8566 GB, free: 115.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02418/1.294, allocations: 13.99 MB / 0.8703 GB, free: 101.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005739/1.3, allocations: 4.526 MB / 0.8747 GB, free: 97.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0044/1.304, allocations: 1.564 MB / 0.8762 GB, free: 95.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.305, allocations: 343.3 kB / 0.8766 GB, free: 95.36 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/1.305, allocations: 0 / 0.8766 GB, free: 95.36 MB / 0.545 GB Notification: Performance of Templates: time 0.09348/1.399, allocations: 62.16 MB / 0.9373 GB, free: 33.78 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.156526235863566] Failed to read output from testmodel.py, exit status != 0: 1.407552232965827 1.422370489 0.914014565 Calling exit ...