Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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.001372/0.001372, 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.394/1.394, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001604/0.001604, allocations: 210.6 kB / 309.2 MB, free: 3.105 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.0407/0.0407, allocations: 8.927 MB / 374.6 MB, free: 6.582 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_Slip2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2",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.002468/0.002468, allocations: 83.88 kB / 0.4892 GB, free: 44.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08523/0.0877, allocations: 55.61 MB / 0.5435 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.2186/0.3063, allocations: 21.96 MB / 0.5649 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01468/0.321, allocations: 7.771 MB / 0.5725 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004876/0.3259, allocations: 201.5 kB / 0.5727 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01388/0.3398, allocations: 5.732 MB / 0.5783 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009058/0.3488, allocations: 2.765 MB / 0.581 GB, free: 7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005019/0.3538, allocations: 1.609 MB / 0.5826 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009689/0.3635, allocations: 7.391 MB / 0.5898 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01531/0.3788, allocations: 8.997 MB / 0.5986 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00776/0.3866, allocations: 3.841 MB / 0.6023 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008249/0.3949, allocations: 4.042 MB / 0.6063 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003069/0.3979, allocations: 1.07 MB / 0.6073 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004969/0.4029, allocations: 1.435 MB / 0.6087 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003613/0.4065, allocations: 2.15 MB / 0.6108 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007191/0.4137, allocations: 3.21 MB / 0.614 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01923/0.4329, allocations: 14.56 MB / 0.6282 GB, free: 6.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4329, allocations: 0 / 0.6282 GB, free: 6.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4329, allocations: 4 kB / 0.6282 GB, free: 6.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003366/0.4333, allocations: 3.938 kB / 0.6282 GB, free: 6.949 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.02779/0.4611, allocations: 8.885 MB / 0.6369 GB, free: 13.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.4611, allocations: 11.98 kB / 0.6369 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003635/0.4647, allocations: 1.045 MB / 0.6379 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02565/0.4904, allocations: 4.413 MB / 0.6422 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.5016, allocations: 4.629 MB / 0.6467 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005661/0.5022, allocations: 485.1 kB / 0.6472 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002444/0.5046, allocations: 0.6288 MB / 0.6478 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02463/0.5293, allocations: 10.49 MB / 0.6581 GB, free: 8.129 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000235/0.5295, allocations: 11.94 kB / 0.6581 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001549/0.5311, allocations: 271.9 kB / 0.6583 GB, free: 7.852 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004742/0.5315, allocations: 421.6 kB / 0.6587 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02126/0.5528, allocations: 9.853 MB / 0.6683 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06101/0.6138, allocations: 30.79 MB / 0.6984 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01423/0.628, allocations: 6.69 MB / 0.705 GB, free: 7.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003878/0.6319, allocations: 2.105 MB / 0.707 GB, free: 5.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003054/0.6322, allocations: 82.19 kB / 0.7071 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.262e-05/0.6323, allocations: 64.89 kB / 0.7071 GB, free: 5.711 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 5.661e-06/0.6323, allocations: 0 / 0.7071 GB, free: 5.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02288/0.6552, allocations: 10.81 MB / 0.7177 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.6552, allocations: 81.78 kB / 0.7178 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005114/0.6604, allocations: 3.134 MB / 0.7208 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004888/0.6608, allocations: 73.7 kB / 0.7209 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002293/0.6631, allocations: 2.97 MB / 0.7238 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001302/0.6644, allocations: 1.085 MB / 0.7249 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001459/0.6659, allocations: 0.9294 MB / 0.7258 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.666, allocations: 301.1 kB / 0.7261 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00339/0.6694, allocations: 2.027 MB / 0.728 GB, free: 112 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004941/0.6744, allocations: 3.757 MB / 0.7317 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009037/0.6834, allocations: 6.058 MB / 0.7376 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.427e-05/0.6835, allocations: 16 kB / 0.7376 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01205/0.6955, allocations: 6.647 MB / 0.7441 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/0.6956, allocations: 28 kB / 0.7442 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.892e-05/0.6957, allocations: 60.22 kB / 0.7442 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/0.6975, allocations: 0.6681 MB / 0.7449 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003761/0.7012, allocations: 1.076 MB / 0.7459 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009454/0.7107, allocations: 6.022 MB / 0.7518 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/0.7143, allocations: 279.5 kB / 0.7521 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006378/0.715, allocations: 232 kB / 0.7523 GB, free: 5.508 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 559 * Array equations: 0 * Algorithm blocks: 0 * 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 {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004398/0.7194, allocations: 2.327 MB / 0.7546 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007971/0.7202, allocations: 333.8 kB / 0.7549 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008284/0.7285, allocations: 4.614 MB / 0.7594 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.562e-05/0.7285, allocations: 32 kB / 0.7594 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.7285, allocations: 4 kB / 0.7594 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-05/0.7286, allocations: 15.94 kB / 0.7594 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01974/0.7483, allocations: 10.58 MB / 0.7698 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.7483, allocations: 8 kB / 0.7698 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/0.7504, allocations: 0.5344 MB / 0.7703 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/0.752, allocations: 0.5636 MB / 0.7709 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002425/0.7522, allocations: 71.97 kB / 0.7709 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2065/0.9587, allocations: 5.251 MB / 0.7761 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.9587, allocations: 11.56 kB / 0.7761 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00984/0.9685, allocations: 6.592 MB / 0.7825 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002042/0.9706, allocations: 0.6632 MB / 0.7831 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007915/0.9714, allocations: 58.91 kB / 0.7832 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/0.9734, allocations: 147.6 kB / 0.7833 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005421/0.9739, allocations: 219.3 kB / 0.7836 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/0.9741, allocations: 91.36 kB / 0.7836 GB, free: 165.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003583/0.9777, allocations: 2.019 MB / 0.7856 GB, free: 164.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.9777, allocations: 0 / 0.7856 GB, free: 164.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005132/0.9828, allocations: 1.178 MB / 0.7868 GB, free: 164.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * 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 {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01141/0.9942, allocations: 7.28 MB / 0.7939 GB, free: 160.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00936/1.004, allocations: 4.832 MB / 0.7986 GB, free: 159 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/1.004, allocations: 4.578 kB / 0.7986 GB, free: 159 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004768/1.008, allocations: 2.113 MB / 0.8007 GB, free: 158.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/1.012, allocations: 0.6547 MB / 0.8013 GB, free: 158 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05393/1.066, allocations: 39.07 MB / 0.8394 GB, free: 130.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003857/1.07, allocations: 3.652 MB / 0.843 GB, free: 127.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003232/1.073, allocations: 1.324 MB / 0.8443 GB, free: 126.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002895/1.076, allocations: 2.26 MB / 0.8465 GB, free: 123.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.343e-06/1.076, allocations: 0 / 0.8465 GB, free: 123.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1313/1.207, allocations: 91.56 MB / 0.9359 GB, free: 32.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/16.81, allocations: 11.28 kB / 0.9359 GB, free: 32.82 MB / 0.545 GB " [Timeout remaining time 643] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.164303231053054] Failed to read output from testmodel.py, exit status != 0: 16.968759644776583 16.985701862 16.548948696 Calling exit ...