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.00129/0.00129, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.437/1.437, allocations: 230.6 MB / 253.4 MB, free: 14.51 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.001529/0.001529, allocations: 209.5 kB / 310 MB, free: 3.137 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.04207/0.04207, allocations: 8.915 MB / 375.4 MB, free: 6.793 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2",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.002624/0.002624, allocations: 83.88 kB / 0.49 GB, free: 44.87 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08423/0.08685, allocations: 55.61 MB / 0.5443 GB, free: 5.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.2268/0.3136, allocations: 25.63 MB / 0.5694 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01415/0.3278, allocations: 8.152 MB / 0.5773 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005299/0.3331, allocations: 205.4 kB / 0.5775 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01374/0.3468, allocations: 6.196 MB / 0.5836 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009144/0.3559, allocations: 2.865 MB / 0.5864 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005772/0.3617, allocations: 1.673 MB / 0.588 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01091/0.3726, allocations: 7.413 MB / 0.5952 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01916/0.3918, allocations: 9.127 MB / 0.6041 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008684/0.4005, allocations: 3.848 MB / 0.6079 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008984/0.4094, allocations: 4.305 MB / 0.6121 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003287/0.4127, allocations: 1.073 MB / 0.6132 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005003/0.4177, allocations: 1.464 MB / 0.6146 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003833/0.4216, allocations: 2.154 MB / 0.6167 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007933/0.4295, allocations: 4.113 MB / 0.6207 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01989/0.4494, allocations: 14.5 MB / 0.6349 GB, free: 2.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4494, allocations: 0 / 0.6349 GB, free: 2.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4494, allocations: 0 / 0.6349 GB, free: 2.234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003157/0.4497, allocations: 0 / 0.6349 GB, free: 2.234 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.02761/0.4773, allocations: 8.9 MB / 0.6436 GB, free: 9.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.4774, allocations: 19.97 kB / 0.6436 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002299/0.4776, allocations: 193 kB / 0.6438 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003473/0.4811, allocations: 1.056 MB / 0.6448 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02748/0.5086, allocations: 4.409 MB / 0.6491 GB, free: 3.559 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/0.5205, allocations: 4.636 MB / 0.6536 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005695/0.521, allocations: 485.1 kB / 0.6541 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/0.5235, allocations: 0.6288 MB / 0.6547 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02518/0.5486, allocations: 10.4 MB / 0.6649 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002811/0.5489, allocations: 15.89 kB / 0.6649 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001844/0.5508, allocations: 268 kB / 0.6651 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005408/0.5513, allocations: 417.7 kB / 0.6655 GB, free: 2.609 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0228/0.5741, allocations: 9.916 MB / 0.6752 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06896/0.6431, allocations: 33.55 MB / 0.708 GB, free: 6.289 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/0.6588, allocations: 6.827 MB / 0.7146 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004184/0.663, allocations: 2.121 MB / 0.7167 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004325/0.6634, allocations: 94.16 kB / 0.7168 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.924e-05/0.6635, allocations: 64.94 kB / 0.7169 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=301): time 5.921e-06/0.6635, allocations: 0 / 0.7169 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=359): time 0.04205/0.7056, allocations: 16.37 MB / 0.7329 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02198/0.7275, allocations: 12.23 MB / 0.7448 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005179/0.7327, allocations: 3.037 MB / 0.7478 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005589/0.7333, allocations: 81.7 kB / 0.7478 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00243/0.7357, allocations: 2.964 MB / 0.7507 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00171/0.7374, allocations: 1.282 MB / 0.752 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002147/0.7396, allocations: 1.005 MB / 0.753 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.7397, allocations: 301.1 kB / 0.7533 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004243/0.7439, allocations: 2.352 MB / 0.7556 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006117/0.7501, allocations: 4.089 MB / 0.7595 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/0.7607, allocations: 6.803 MB / 0.7662 GB, free: 9.344 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.883e-05/0.7608, allocations: 16 kB / 0.7662 GB, free: 9.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01604/0.7768, allocations: 7.935 MB / 0.774 GB, free: 1.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.7769, allocations: 32 kB / 0.774 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-05/0.7769, allocations: 52 kB / 0.774 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1991/0.976, allocations: 1.312 MB / 0.7753 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004249/0.9803, allocations: 1.124 MB / 0.7764 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/0.9968, allocations: 12.67 MB / 0.7888 GB, free: 163.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003817/1.001, allocations: 299.7 kB / 0.7891 GB, free: 163.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006651/1.001, allocations: 255.8 kB / 0.7893 GB, free: 163.2 MB / 0.545 GB 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.003855/1.005, allocations: 2.375 MB / 0.7916 GB, free: 162 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008067/1.006, allocations: 355.8 kB / 0.792 GB, free: 162 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/1.017, allocations: 6.135 MB / 0.798 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.824e-05/1.017, allocations: 35.31 kB / 0.798 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/1.017, allocations: 6.719 kB / 0.798 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-05/1.017, allocations: 17.81 kB / 0.798 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02834/1.045, allocations: 17.28 MB / 0.8149 GB, free: 151.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.182e-05/1.046, allocations: 3.938 kB / 0.8149 GB, free: 151.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/1.048, allocations: 0.5565 MB / 0.8154 GB, free: 151.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00343/1.051, allocations: 1.323 MB / 0.8167 GB, free: 151.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004582/1.052, allocations: 83.56 kB / 0.8168 GB, free: 151.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01561/1.067, allocations: 13 MB / 0.8295 GB, free: 144 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0163/1.083, allocations: 11.97 MB / 0.8412 GB, free: 135.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/1.096, allocations: 8.542 MB / 0.8495 GB, free: 127 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00216/1.098, allocations: 0.7533 MB / 0.8503 GB, free: 126.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008333/1.099, allocations: 68 kB / 0.8503 GB, free: 126.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/1.101, allocations: 168.8 kB / 0.8505 GB, free: 126 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005924/1.102, allocations: 281.3 kB / 0.8508 GB, free: 125.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002274/1.102, allocations: 104 kB / 0.8509 GB, free: 125.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002646/1.105, allocations: 2.021 MB / 0.8528 GB, free: 123.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/1.105, allocations: 2.062 kB / 0.8528 GB, free: 123.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005327/1.11, allocations: 1.367 MB / 0.8542 GB, free: 122.3 MB / 0.545 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.01231/1.122, allocations: 9.232 MB / 0.8632 GB, free: 112.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009688/1.132, allocations: 6.068 MB / 0.8691 GB, free: 106.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/1.132, allocations: 0 / 0.8691 GB, free: 106.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005221/1.137, allocations: 3.007 MB / 0.8721 GB, free: 103.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/1.141, allocations: 0.6677 MB / 0.8727 GB, free: 103.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06215/1.203, allocations: 43.7 MB / 0.9154 GB, free: 57.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004278/1.207, allocations: 4.289 MB / 0.9196 GB, free: 53.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003486/1.21, allocations: 1.37 MB / 0.9209 GB, free: 51.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003193/1.214, allocations: 2.303 MB / 0.9232 GB, free: 49.46 MB / 0.545 GB Notification: Performance of SimCode: time 1.453e-06/1.214, allocations: 0 / 0.9232 GB, free: 49.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3739/1.588, allocations: 110.1 MB / 1.031 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.22/22.81, allocations: 7.062 kB / 1.031 GB, free: 173.2 MB / 0.5606 GB " [Timeout remaining time 637] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 34.55347724002786] Failed to read output from testmodel.py, exit status != 0: 23.043027338921092 23.054176249 22.602158298 Calling exit ...