Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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.001422/0.001422, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.491/1.491, allocations: 230.6 MB / 253.4 MB, free: 14.27 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.001657/0.001657, allocations: 214.9 kB / 310 MB, free: 3.016 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.04183/0.04183, allocations: 8.924 MB / 375.3 MB, free: 6.566 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_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") [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.002613/0.002613, allocations: 87.81 kB / 0.4904 GB, free: 44.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08543/0.08804, allocations: 55.6 MB / 0.5447 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.2334/0.3214, allocations: 21.97 MB / 0.5661 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.3357, allocations: 7.704 MB / 0.5737 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005082/0.3408, allocations: 201.7 kB / 0.5739 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01642/0.3572, allocations: 7.161 MB / 0.5808 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009976/0.3672, allocations: 3.102 MB / 0.5839 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006088/0.3733, allocations: 2.004 MB / 0.5858 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01255/0.3858, allocations: 9.396 MB / 0.595 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02133/0.4071, allocations: 11.19 MB / 0.6059 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009072/0.4162, allocations: 4.883 MB / 0.6107 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0102/0.4264, allocations: 5.049 MB / 0.6156 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003731/0.4301, allocations: 1.357 MB / 0.617 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006347/0.4365, allocations: 1.718 MB / 0.6186 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004838/0.4413, allocations: 2.677 MB / 0.6213 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009458/0.4508, allocations: 3.957 MB / 0.6251 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02718/0.478, allocations: 18.29 MB / 0.643 GB, free: 8.664 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.478, allocations: 3.938 kB / 0.643 GB, free: 8.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.478, allocations: 0 / 0.643 GB, free: 8.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004832/0.4785, allocations: 0 / 0.643 GB, free: 8.66 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.03497/0.5134, allocations: 10.88 MB / 0.6536 GB, free: 13.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.5135, allocations: 15.98 kB / 0.6536 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03402/0.5475, allocations: 5.669 MB / 0.6592 GB, free: 8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01498/0.5625, allocations: 5.833 MB / 0.6649 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008183/0.5633, allocations: 0.5819 MB / 0.6654 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003579/0.5669, allocations: 0.7655 MB / 0.6662 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03465/0.6015, allocations: 12.98 MB / 0.6788 GB, free: 3.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004498/0.602, allocations: 11.91 kB / 0.6789 GB, free: 3.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002724/0.6047, allocations: 328 kB / 0.6792 GB, free: 3.348 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006817/0.6054, allocations: 0.4889 MB / 0.6796 GB, free: 2.855 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02942/0.6348, allocations: 12.24 MB / 0.6916 GB, free: 6.59 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07746/0.7123, allocations: 36.66 MB / 0.7274 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02013/0.7324, allocations: 8.911 MB / 0.7361 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005442/0.7378, allocations: 2.718 MB / 0.7388 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004579/0.7383, allocations: 102.9 kB / 0.7389 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005324/0.7436, allocations: 2.791 MB / 0.7416 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=391): time 1.387e-05/0.7436, allocations: 3.984 kB / 0.7416 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of matching and sorting (n=397): time 0.05027/0.7939, allocations: 18.3 MB / 0.7595 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000276/0.7942, allocations: 355.5 kB / 0.7598 GB, free: 472 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007249/0.8014, allocations: 3.365 MB / 0.7631 GB, free: 13.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007594/0.8022, allocations: 93.7 kB / 0.7632 GB, free: 12.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0033/0.8055, allocations: 3.51 MB / 0.7666 GB, free: 9.441 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002079/0.8076, allocations: 1.414 MB / 0.768 GB, free: 8.016 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003517/0.8111, allocations: 1.101 MB / 0.7691 GB, free: 6.906 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.8113, allocations: 309.1 kB / 0.7694 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005327/0.8166, allocations: 2.581 MB / 0.7719 GB, free: 4.008 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2359/1.052, allocations: 4.717 MB / 0.7765 GB, free: 164.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/1.063, allocations: 7.47 MB / 0.7838 GB, free: 161.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/1.063, allocations: 17.06 kB / 0.7838 GB, free: 161.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01596/1.079, allocations: 8.285 MB / 0.7919 GB, free: 159.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-05/1.079, allocations: 59.19 kB / 0.7919 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001397/1.079, allocations: 58.44 kB / 0.792 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/1.082, allocations: 1.001 MB / 0.793 GB, free: 158.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004869/1.087, allocations: 1.261 MB / 0.7942 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/1.099, allocations: 8.519 MB / 0.8025 GB, free: 154.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004621/1.104, allocations: 352.8 kB / 0.8029 GB, free: 154.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001206/1.105, allocations: 278.9 kB / 0.8031 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.005536/1.111, allocations: 2.897 MB / 0.806 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009595/1.112, allocations: 380.5 kB / 0.8063 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009582/1.121, allocations: 6.166 MB / 0.8123 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.949e-05/1.121, allocations: 39.66 kB / 0.8124 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-05/1.121, allocations: 10.16 kB / 0.8124 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.416e-05/1.121, allocations: 24.41 kB / 0.8124 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/1.142, allocations: 12.75 MB / 0.8249 GB, free: 144.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/1.142, allocations: 3.938 kB / 0.8249 GB, free: 144.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002718/1.145, allocations: 0.6925 MB / 0.8255 GB, free: 144.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002325/1.147, allocations: 0.869 MB / 0.8264 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005732/1.148, allocations: 93.47 kB / 0.8265 GB, free: 144.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008965/1.157, allocations: 7.469 MB / 0.8338 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.157, allocations: 4 kB / 0.8338 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/1.168, allocations: 8.825 MB / 0.8424 GB, free: 131.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002747/1.171, allocations: 0.8257 MB / 0.8432 GB, free: 130.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/1.172, allocations: 87.92 kB / 0.8433 GB, free: 130.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002553/1.175, allocations: 183.8 kB / 0.8435 GB, free: 130.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006142/1.175, allocations: 291 kB / 0.8437 GB, free: 129.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003083/1.176, allocations: 123.6 kB / 0.8439 GB, free: 129.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003431/1.179, allocations: 2.165 MB / 0.846 GB, free: 127.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.179, allocations: 8 kB / 0.846 GB, free: 127.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005913/1.185, allocations: 1.451 MB / 0.8474 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.0008062/1.186, allocations: 250.3 kB / 0.8476 GB, free: 125.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0107/1.196, allocations: 6.274 MB / 0.8538 GB, free: 119.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/1.196, allocations: 2.359 kB / 0.8538 GB, free: 119.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005116/1.202, allocations: 2.916 MB / 0.8566 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.005058/1.207, allocations: 0.7153 MB / 0.8573 GB, free: 115.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02599/1.233, allocations: 13.8 MB / 0.8708 GB, free: 102 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006097/1.239, allocations: 4.379 MB / 0.8751 GB, free: 97.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/1.241, allocations: 395.3 kB / 0.8754 GB, free: 97.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/1.241, allocations: 0 / 0.8754 GB, free: 97.2 MB / 0.545 GB Notification: Performance of Templates: time 0.4071/1.648, allocations: 135.4 MB / 1.008 GB, free: 186.4 MB / 0.5762 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.949326017871499] Failed to read output from testmodel.py, exit status != 0: 1.6573121678084135 1.670836197 1.189558997 Calling exit ...