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.001239/0.001239, allocations: 107.6 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.512/1.512, 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.001816/0.001816, allocations: 219.7 kB / 306 MB, free: 4.277 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.04332/0.04332, allocations: 8.906 MB / 371 MB, free: 3.418 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.002733/0.002733, allocations: 84.69 kB / 495.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1313, allocations: 55.58 MB / 0.5384 GB, free: 6.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.03219/0.1635, allocations: 25.57 MB / 0.5634 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02211/0.1856, allocations: 8.134 MB / 0.5713 GB, free: 4.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006728/0.1924, allocations: 207 kB / 0.5715 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01719/0.2096, allocations: 6.171 MB / 0.5776 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009657/0.2192, allocations: 2.797 MB / 0.5803 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005275/0.2245, allocations: 1.636 MB / 0.5819 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01115/0.2356, allocations: 7.346 MB / 0.5891 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01884/0.2545, allocations: 10.13 MB / 0.599 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007312/0.2618, allocations: 3.814 MB / 0.6027 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007769/0.2696, allocations: 4.298 MB / 0.6069 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003527/0.2731, allocations: 1.07 MB / 0.6079 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00516/0.2782, allocations: 1.457 MB / 0.6094 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003989/0.2822, allocations: 2.147 MB / 0.6115 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009215/0.2914, allocations: 4.124 MB / 0.6155 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02219/0.3136, allocations: 14.51 MB / 0.6297 GB, free: 8.594 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.3136, allocations: 7.984 kB / 0.6297 GB, free: 8.586 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3136, allocations: 0 / 0.6297 GB, free: 8.586 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004208/0.3141, allocations: 0 / 0.6297 GB, free: 8.586 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: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.02945/0.3435, allocations: 8.96 MB / 0.6384 GB, free: 15.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.3436, allocations: 12.03 kB / 0.6384 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003784/0.3474, allocations: 1.041 MB / 0.6394 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02703/0.3744, allocations: 4.413 MB / 0.6437 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.3859, allocations: 4.654 MB / 0.6483 GB, free: 5.328 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005759/0.3865, allocations: 489.1 kB / 0.6488 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002571/0.3891, allocations: 0.6249 MB / 0.6494 GB, free: 4.223 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.24/0.6291, allocations: 10.38 MB / 0.6595 GB, free: 89.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002742/0.6294, allocations: 18.28 kB / 0.6595 GB, free: 89.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001804/0.6312, allocations: 262 kB / 0.6598 GB, free: 89.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005199/0.6317, allocations: 418.9 kB / 0.6602 GB, free: 89.61 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02082/0.6525, allocations: 9.909 MB / 0.6698 GB, free: 85.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05264/0.7052, allocations: 37.18 MB / 0.7062 GB, free: 55.24 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/0.7198, allocations: 20.48 MB / 0.7262 GB, free: 32.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003391/0.7232, allocations: 2.125 MB / 0.7282 GB, free: 30.01 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003509/0.7236, allocations: 316.4 kB / 0.7285 GB, free: 29.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.7236, allocations: 64.89 kB / 0.7286 GB, free: 29.58 MB / 462.1 MB Notification: Performance of pre-optimization done (n=295): time 4.779e-06/0.7236, allocations: 3.531 kB / 0.7286 GB, free: 29.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=301): time 0.02086/0.7445, allocations: 10.96 MB / 0.7393 GB, free: 18.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.7445, allocations: 85.78 kB / 0.7394 GB, free: 18.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004278/0.7488, allocations: 3.027 MB / 0.7423 GB, free: 15.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005314/0.7493, allocations: 73.7 kB / 0.7424 GB, free: 15.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.7507, allocations: 2.969 MB / 0.7453 GB, free: 12.78 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/0.7517, allocations: 1.087 MB / 0.7464 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001476/0.7532, allocations: 0.9216 MB / 0.7473 GB, free: 10.78 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.87e-05/0.7532, allocations: 313 kB / 0.7476 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002775/0.756, allocations: 2.031 MB / 0.7496 GB, free: 8.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003606/0.7596, allocations: 3.728 MB / 0.7532 GB, free: 3.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008482/0.7681, allocations: 6.059 MB / 0.7591 GB, free: 13.05 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.405e-05/0.7682, allocations: 16 kB / 0.7591 GB, free: 13.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01573/0.7839, allocations: 6.64 MB / 0.7656 GB, free: 6.355 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.623e-05/0.784, allocations: 31.12 kB / 0.7656 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000104/0.7841, allocations: 56 kB / 0.7657 GB, free: 6.273 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002352/0.7864, allocations: 0.6729 MB / 0.7664 GB, free: 5.598 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004791/0.7912, allocations: 1.072 MB / 0.7674 GB, free: 4.523 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.8016, allocations: 6.243 MB / 0.7735 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/0.8054, allocations: 275.5 kB / 0.7738 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007177/0.8061, allocations: 236 kB / 0.774 GB, free: 13.64 MB / 494.1 MB 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.00455/0.8107, allocations: 2.312 MB / 0.7762 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009755/0.8117, allocations: 329.9 kB / 0.7766 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009139/0.8208, allocations: 4.614 MB / 0.7811 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/0.8208, allocations: 32 kB / 0.7811 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/0.8208, allocations: 7.938 kB / 0.7811 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.413e-05/0.8209, allocations: 15.94 kB / 0.7811 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02236/0.8433, allocations: 11.11 MB / 0.792 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/0.8433, allocations: 4.625 kB / 0.792 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002465/0.8457, allocations: 0.5383 MB / 0.7925 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/0.8476, allocations: 0.5623 MB / 0.793 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003992/0.848, allocations: 71.97 kB / 0.7931 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008799/0.8568, allocations: 5.462 MB / 0.7984 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.8568, allocations: 4 kB / 0.7984 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/0.8698, allocations: 6.596 MB / 0.8049 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002245/0.8721, allocations: 0.7252 MB / 0.8056 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008429/0.8729, allocations: 59.98 kB / 0.8057 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/0.875, allocations: 143.8 kB / 0.8058 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006451/0.8756, allocations: 218 kB / 0.806 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002551/0.8759, allocations: 91.98 kB / 0.8061 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004076/0.88, allocations: 2.021 MB / 0.8081 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.88, allocations: 3.938 kB / 0.8081 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005845/0.8858, allocations: 1.176 MB / 0.8092 GB, free: 9.07 MB / 0.5137 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.01386/0.8997, allocations: 7.268 MB / 0.8163 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01053/0.9102, allocations: 4.836 MB / 0.821 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/0.9102, allocations: 4 kB / 0.821 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005104/0.9153, allocations: 2.117 MB / 0.8231 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003845/0.9191, allocations: 0.6495 MB / 0.8237 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07924/0.9984, allocations: 38.99 MB / 0.8618 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2251/1.223, allocations: 4.148 MB / 0.8659 GB, free: 193.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004679/1.228, allocations: 1.326 MB / 0.8672 GB, free: 193.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004132/1.232, allocations: 2.261 MB / 0.8694 GB, free: 193 MB / 0.5606 GB Notification: Performance of SimCode: time 1.713e-06/1.232, allocations: 1.094 kB / 0.8694 GB, free: 193 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1652/1.397, allocations: 89.59 MB / 0.9569 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.73/19.13, allocations: 7.812 kB / 0.9569 GB, free: 120.9 MB / 0.5606 GB " [Timeout remaining time 641] (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: 22.792782436998095] Failed to read output from testmodel.py, exit status != 0: 19.269738282004255 19.283132992 18.965953428 Calling exit ...