Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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.001344/0.001344, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.424/1.424, allocations: 230.6 MB / 250.5 MB, free: 9.402 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.001562/0.001562, allocations: 213.1 kB / 306.7 MB, free: 4.363 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.04065/0.04065, allocations: 8.913 MB / 371.7 MB, free: 3.496 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_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",fmuType="cs",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.002431/0.002431, allocations: 83.88 kB / 496.5 MB, free: 9.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2582, allocations: 55.56 MB / 0.5391 GB, free: 26.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.01869/0.2769, allocations: 25.56 MB / 0.5641 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.2898, allocations: 8.129 MB / 0.572 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004556/0.2944, allocations: 201.9 kB / 0.5722 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01407/0.3084, allocations: 6.173 MB / 0.5782 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009497/0.3179, allocations: 2.8 MB / 0.5809 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005203/0.3231, allocations: 1.644 MB / 0.5825 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0107/0.3338, allocations: 7.345 MB / 0.5897 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01792/0.3518, allocations: 10.13 MB / 0.5996 GB, free: 12 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00725/0.359, allocations: 3.814 MB / 0.6033 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007785/0.3668, allocations: 4.29 MB / 0.6075 GB, free: 7.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002772/0.3696, allocations: 1.074 MB / 0.6086 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004332/0.3739, allocations: 1.46 MB / 0.61 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003273/0.3772, allocations: 2.143 MB / 0.6121 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007252/0.3844, allocations: 4.117 MB / 0.6161 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0195/0.4039, allocations: 14.5 MB / 0.6303 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.4039, allocations: 0 / 0.6303 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4039, allocations: 0 / 0.6303 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000389/0.4043, allocations: 4 kB / 0.6303 GB, free: 0.5117 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: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.0271/0.4314, allocations: 8.964 MB / 0.639 GB, free: 7.449 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4315, allocations: 12.03 kB / 0.6391 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002221/0.4317, allocations: 205 kB / 0.6392 GB, free: 7.234 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003032/0.4347, allocations: 1.052 MB / 0.6403 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02646/0.4612, allocations: 4.409 MB / 0.6446 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/0.472, allocations: 4.65 MB / 0.6491 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005361/0.4725, allocations: 481.1 kB / 0.6496 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00238/0.4749, allocations: 0.6405 MB / 0.6502 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02443/0.4993, allocations: 10.4 MB / 0.6604 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002413/0.4996, allocations: 15.94 kB / 0.6604 GB, free: 1.441 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001601/0.5012, allocations: 268 kB / 0.6606 GB, free: 1.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005081/0.5017, allocations: 425.7 kB / 0.661 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02119/0.5229, allocations: 9.911 MB / 0.6707 GB, free: 6.836 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2744/0.7973, allocations: 37.19 MB / 0.707 GB, free: 93.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01613/0.8134, allocations: 20.53 MB / 0.7271 GB, free: 76.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003649/0.8171, allocations: 2.123 MB / 0.7292 GB, free: 76.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003353/0.8174, allocations: 333.7 kB / 0.7295 GB, free: 75.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.8175, allocations: 62.95 kB / 0.7295 GB, free: 75.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=301): time 4.92e-06/0.8175, allocations: 0 / 0.7295 GB, free: 75.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=359): time 0.03637/0.8538, allocations: 16.53 MB / 0.7457 GB, free: 69.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01785/0.8717, allocations: 12.45 MB / 0.7578 GB, free: 62.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004086/0.8758, allocations: 3.036 MB / 0.7608 GB, free: 61.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004685/0.8762, allocations: 84.02 kB / 0.7609 GB, free: 60.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.8775, allocations: 2.962 MB / 0.7638 GB, free: 58.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008768/0.8784, allocations: 1.282 MB / 0.765 GB, free: 57.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001236/0.8796, allocations: 1.001 MB / 0.766 GB, free: 57.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.584e-05/0.8797, allocations: 308.9 kB / 0.7663 GB, free: 56.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/0.8824, allocations: 2.359 MB / 0.7686 GB, free: 55.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003619/0.886, allocations: 4.087 MB / 0.7726 GB, free: 51.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006663/0.8927, allocations: 6.803 MB / 0.7792 GB, free: 46.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-05/0.8927, allocations: 18.31 kB / 0.7792 GB, free: 46.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01151/0.9042, allocations: 7.927 MB / 0.787 GB, free: 40.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/0.9042, allocations: 28 kB / 0.787 GB, free: 40.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.563e-05/0.9043, allocations: 56 kB / 0.7871 GB, free: 40.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003296/0.9076, allocations: 1.313 MB / 0.7883 GB, free: 39.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00395/0.9116, allocations: 1.127 MB / 0.7894 GB, free: 38.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/0.9263, allocations: 12.87 MB / 0.802 GB, free: 24.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00458/0.9309, allocations: 299.5 kB / 0.8023 GB, free: 24.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008766/0.9318, allocations: 259.9 kB / 0.8025 GB, free: 24.37 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * 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 (584): * Single equations (assignments): 582 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,28,65.6%), (8,28,64.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003971/0.9358, allocations: 2.379 MB / 0.8049 GB, free: 21.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/0.9368, allocations: 353.8 kB / 0.8052 GB, free: 21.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009308/0.9461, allocations: 6.129 MB / 0.8112 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/0.9461, allocations: 43.78 kB / 0.8112 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.9462, allocations: 8 kB / 0.8112 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.667e-05/0.9462, allocations: 19.92 kB / 0.8113 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0287/0.9749, allocations: 17.57 MB / 0.8284 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/0.9749, allocations: 7.938 kB / 0.8284 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002363/0.9773, allocations: 0.5539 MB / 0.829 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003999/0.9813, allocations: 1.33 MB / 0.8303 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003799/0.9817, allocations: 79.97 kB / 0.8303 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0205/1.002, allocations: 13.19 MB / 0.8432 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0202/1.022, allocations: 12.18 MB / 0.8551 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01501/1.037, allocations: 8.525 MB / 0.8634 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002008/1.039, allocations: 0.8188 MB / 0.8642 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005732/1.04, allocations: 71.94 kB / 0.8643 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/1.042, allocations: 171.9 kB / 0.8645 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006485/1.043, allocations: 262.8 kB / 0.8647 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/1.043, allocations: 111.9 kB / 0.8648 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003466/1.046, allocations: 2.021 MB / 0.8668 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.046, allocations: 0 / 0.8668 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006764/1.053, allocations: 1.367 MB / 0.8681 GB, free: 4.195 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 ($STATESET1.x,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 (305): * Single equations (assignments): 303 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,20,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01637/1.069, allocations: 9.233 MB / 0.8772 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01203/1.081, allocations: 6.059 MB / 0.8831 GB, free: 4.719 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.081, allocations: 4.125 kB / 0.8831 GB, free: 4.715 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006629/1.088, allocations: 3.013 MB / 0.886 GB, free: 1.672 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003962/1.092, allocations: 0.6715 MB / 0.8867 GB, free: 1.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3138/1.406, allocations: 43.6 MB / 0.9293 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004931/1.411, allocations: 4.298 MB / 0.9335 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003969/1.415, allocations: 1.364 MB / 0.9348 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002745/1.417, allocations: 2.303 MB / 0.937 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/1.417, allocations: 1.281 kB / 0.937 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1497/1.567, allocations: 105.5 MB / 1.04 GB, free: 74.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.64/22.21, allocations: 15.94 kB / 1.04 GB, free: 74.62 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.602110251958948] Failed to read output from testmodel.py, exit status != 0: 22.419293073005974 22.428582847 22.02228255 Calling exit ...