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.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.001739/0.001739, allocations: 104.3 kB / 16.45 MB, free: 6.453 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 / 249.8 MB, free: 9.207 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.001601/0.001601, allocations: 215.7 kB / 306 MB, free: 4.273 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.04156/0.04156, allocations: 8.908 MB / 371 MB, free: 3.414 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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_VCurve3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_VCurve3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve3",fmuType="me",version="2.0",platforms={"static"}) [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.003105/0.003105, allocations: 86.95 kB / 495.8 MB, free: 9.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3029, allocations: 55.57 MB / 0.5384 GB, free: 26.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.02113/0.3241, allocations: 25.59 MB / 0.5634 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0182/0.3423, allocations: 8.058 MB / 0.5713 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007023/0.3493, allocations: 205.9 kB / 0.5715 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0199/0.3692, allocations: 7.736 MB / 0.579 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.3822, allocations: 3.098 MB / 0.5821 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007474/0.3897, allocations: 2.062 MB / 0.5841 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01652/0.4062, allocations: 9.306 MB / 0.5932 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02626/0.4325, allocations: 12.82 MB / 0.6057 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01062/0.4431, allocations: 4.851 MB / 0.6104 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0116/0.4547, allocations: 5.349 MB / 0.6157 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005039/0.4597, allocations: 1.352 MB / 0.617 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007563/0.4673, allocations: 1.734 MB / 0.6187 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006436/0.4737, allocations: 2.681 MB / 0.6213 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01282/0.4865, allocations: 5.086 MB / 0.6263 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02692/0.5135, allocations: 18.23 MB / 0.6441 GB, free: 1.617 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.5135, allocations: 4 kB / 0.6441 GB, free: 1.613 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5135, allocations: 0 / 0.6441 GB, free: 1.613 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005385/0.514, allocations: 0 / 0.6441 GB, free: 1.613 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.03761/0.5516, allocations: 10.96 MB / 0.6548 GB, free: 6.543 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.5517, allocations: 16.03 kB / 0.6548 GB, free: 6.527 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005393/0.5571, allocations: 1.268 MB / 0.656 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0344/0.5915, allocations: 5.664 MB / 0.6615 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01509/0.6066, allocations: 5.838 MB / 0.6672 GB, free: 9.68 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006702/0.6072, allocations: 0.578 MB / 0.6678 GB, free: 9.102 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003469/0.6107, allocations: 0.7655 MB / 0.6686 GB, free: 8.336 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03804/0.6487, allocations: 12.81 MB / 0.6811 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003796/0.6491, allocations: 11.95 kB / 0.6811 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003147/0.6523, allocations: 324 kB / 0.6814 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006475/0.6529, allocations: 0.4967 MB / 0.6819 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5013/1.154, allocations: 12.29 MB / 0.6939 GB, free: 105.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07835/1.233, allocations: 45.17 MB / 0.738 GB, free: 78.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02071/1.253, allocations: 24.81 MB / 0.7622 GB, free: 54.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004978/1.258, allocations: 2.728 MB / 0.7649 GB, free: 53.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004919/1.259, allocations: 348.1 kB / 0.7652 GB, free: 53.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004263/1.263, allocations: 2.584 MB / 0.7677 GB, free: 51.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=391): time 8.085e-06/1.263, allocations: 3.984 kB / 0.7677 GB, free: 51.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=397): time 0.04231/1.305, allocations: 18.45 MB / 0.7858 GB, free: 39.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/1.305, allocations: 363.5 kB / 0.7861 GB, free: 39.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005746/1.311, allocations: 3.529 MB / 0.7895 GB, free: 35.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007027/1.312, allocations: 89.7 kB / 0.7896 GB, free: 35.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/1.314, allocations: 3.498 MB / 0.793 GB, free: 32.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001553/1.315, allocations: 1.419 MB / 0.7944 GB, free: 31.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001932/1.317, allocations: 1.101 MB / 0.7955 GB, free: 30.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.103e-05/1.317, allocations: 301.1 kB / 0.7958 GB, free: 29.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003515/1.321, allocations: 2.56 MB / 0.7983 GB, free: 27.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004648/1.325, allocations: 4.519 MB / 0.8027 GB, free: 21.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008484/1.334, allocations: 7.463 MB / 0.81 GB, free: 13.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.593e-05/1.334, allocations: 23.94 kB / 0.81 GB, free: 13.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01345/1.347, allocations: 8.29 MB / 0.8181 GB, free: 5.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.817e-05/1.347, allocations: 61.64 kB / 0.8182 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.443e-05/1.348, allocations: 60 kB / 0.8182 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002694/1.35, allocations: 1.006 MB / 0.8192 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004514/1.355, allocations: 1.26 MB / 0.8204 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/1.369, allocations: 8.818 MB / 0.8291 GB, free: 9.742 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005003/1.374, allocations: 355.4 kB / 0.8294 GB, free: 9.395 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/1.376, allocations: 271.9 kB / 0.8297 GB, free: 9.129 MB / 0.4982 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.006892/1.383, allocations: 2.896 MB / 0.8325 GB, free: 6.215 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001684/1.384, allocations: 409.3 kB / 0.8329 GB, free: 5.812 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0161/1.4, allocations: 6.152 MB / 0.8389 GB, free: 15.61 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.107e-05/1.4, allocations: 40 kB / 0.8389 GB, free: 15.57 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.089e-05/1.4, allocations: 15.98 kB / 0.8389 GB, free: 15.55 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001013/1.401, allocations: 19.92 kB / 0.839 GB, free: 15.54 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03403/1.435, allocations: 14.64 MB / 0.8532 GB, free: 0.8281 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.411e-05/1.435, allocations: 4 kB / 0.8532 GB, free: 0.8242 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003493/1.438, allocations: 0.6948 MB / 0.8539 GB, free: 132 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002955/1.441, allocations: 0.8731 MB / 0.8548 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006668/1.442, allocations: 91.91 kB / 0.8549 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/1.455, allocations: 7.765 MB / 0.8624 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/1.455, allocations: 8 kB / 0.8625 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/1.472, allocations: 8.797 MB / 0.871 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002637/1.474, allocations: 0.9161 MB / 0.8719 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/1.475, allocations: 76 kB / 0.872 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002834/1.478, allocations: 195.8 kB / 0.8722 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008346/1.479, allocations: 283.2 kB / 0.8725 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003429/1.479, allocations: 116 kB / 0.8726 GB, free: 12.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005586/1.485, allocations: 2.371 MB / 0.8749 GB, free: 10.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 4e-07/1.485, allocations: 0 / 0.8749 GB, free: 10.37 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007417/1.492, allocations: 1.453 MB / 0.8763 GB, free: 8.914 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.02095/1.513, allocations: 9.501 MB / 0.8856 GB, free: 15.28 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01499/1.528, allocations: 6.228 MB / 0.8917 GB, free: 9.027 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/1.528, allocations: 0 / 0.8917 GB, free: 9.027 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007108/1.535, allocations: 2.88 MB / 0.8945 GB, free: 6.121 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00654/1.542, allocations: 0.8313 MB / 0.8953 GB, free: 5.309 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3455/1.887, allocations: 48.14 MB / 0.9423 GB, free: 181.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009889/1.897, allocations: 5.011 MB / 0.9472 GB, free: 180 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005119/1.902, allocations: 1.593 MB / 0.9488 GB, free: 179.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004636/1.907, allocations: 2.772 MB / 0.9515 GB, free: 177.5 MB / 0.5763 GB Notification: Performance of SimCode: time 1.783e-06/1.907, allocations: 4 kB / 0.9515 GB, free: 177.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.167/2.074, allocations: 113.1 MB / 1.062 GB, free: 78.41 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.63/21.71, allocations: 0 / 1.062 GB, free: 78.41 MB / 0.5763 GB " [Timeout remaining time 638] (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.73231963100261] Failed to read output from testmodel.py, exit status != 0: 21.854624033992877 21.864713771999998 21.34782158 Calling exit ...