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.001339/0.001339, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.435/1.435, allocations: 230.6 MB / 253.4 MB, free: 14.39 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.001492/0.001492, allocations: 211.9 kB / 310 MB, free: 3.16 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.04075/0.04075, allocations: 8.923 MB / 375.4 MB, free: 6.746 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.002508/0.002508, allocations: 71.89 kB / 0.49 GB, free: 44.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08145/0.08396, allocations: 55.61 MB / 0.5443 GB, free: 5.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.2356/0.3195, allocations: 25.61 MB / 0.5693 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.3338, allocations: 8.155 MB / 0.5773 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005244/0.3391, allocations: 200.8 kB / 0.5775 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0141/0.3532, allocations: 6.206 MB / 0.5835 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009271/0.3624, allocations: 2.858 MB / 0.5863 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005128/0.3676, allocations: 1.679 MB / 0.588 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009975/0.3775, allocations: 7.408 MB / 0.5952 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01733/0.3949, allocations: 9.124 MB / 0.6041 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007626/0.4025, allocations: 3.841 MB / 0.6079 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00822/0.4107, allocations: 4.308 MB / 0.6121 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002995/0.4137, allocations: 1.072 MB / 0.6131 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004978/0.4187, allocations: 1.464 MB / 0.6145 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003839/0.4225, allocations: 2.151 MB / 0.6166 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008535/0.4311, allocations: 4.113 MB / 0.6207 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0203/0.4514, allocations: 14.51 MB / 0.6348 GB, free: 2.215 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4514, allocations: 0 / 0.6348 GB, free: 2.215 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4514, allocations: 0 / 0.6348 GB, free: 2.215 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003657/0.4517, allocations: 4 kB / 0.6348 GB, free: 2.211 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.02775/0.4795, allocations: 8.893 MB / 0.6435 GB, free: 9.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.4795, allocations: 15.98 kB / 0.6435 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000247/0.4798, allocations: 201 kB / 0.6437 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003525/0.4833, allocations: 1.049 MB / 0.6447 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02605/0.5094, allocations: 4.409 MB / 0.649 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/0.5196, allocations: 4.633 MB / 0.6536 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004332/0.52, allocations: 493 kB / 0.654 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001867/0.5219, allocations: 0.6366 MB / 0.6547 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02142/0.5433, allocations: 10.39 MB / 0.6648 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001917/0.5435, allocations: 19.89 kB / 0.6648 GB, free: 3.262 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00127/0.5448, allocations: 264 kB / 0.6651 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004745/0.5453, allocations: 417.7 kB / 0.6655 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02208/0.5674, allocations: 9.919 MB / 0.6752 GB, free: 8.656 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06237/0.6297, allocations: 33.54 MB / 0.7079 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01555/0.6453, allocations: 6.824 MB / 0.7146 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004122/0.6494, allocations: 2.129 MB / 0.7167 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003725/0.6498, allocations: 90.25 kB / 0.7167 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.117e-05/0.6498, allocations: 64.88 kB / 0.7168 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=301): time 4.799e-06/0.6498, allocations: 4 kB / 0.7168 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=359): time 0.04192/0.6918, allocations: 16.37 MB / 0.7328 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02131/0.7131, allocations: 12.24 MB / 0.7448 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005123/0.7182, allocations: 3.037 MB / 0.7477 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005272/0.7187, allocations: 81.7 kB / 0.7478 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00245/0.7212, allocations: 2.964 MB / 0.7507 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001633/0.7228, allocations: 1.282 MB / 0.7519 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00246/0.7253, allocations: 1.005 MB / 0.7529 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.7254, allocations: 301.1 kB / 0.7532 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004059/0.7294, allocations: 2.356 MB / 0.7555 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005614/0.7351, allocations: 4.081 MB / 0.7595 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.7452, allocations: 6.807 MB / 0.7661 GB, free: 9.328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.115e-05/0.7453, allocations: 19.94 kB / 0.7662 GB, free: 9.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01653/0.7618, allocations: 7.928 MB / 0.7739 GB, free: 1.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/0.7619, allocations: 31.94 kB / 0.7739 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-05/0.762, allocations: 56 kB / 0.774 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1937/0.9557, allocations: 1.318 MB / 0.7753 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004158/0.9598, allocations: 1.125 MB / 0.7764 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0165/0.9763, allocations: 12.66 MB / 0.7887 GB, free: 162 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004513/0.9809, allocations: 305.5 kB / 0.789 GB, free: 161.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/0.9819, allocations: 251 kB / 0.7893 GB, free: 161.9 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.004379/0.9863, allocations: 2.37 MB / 0.7916 GB, free: 160.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008682/0.9871, allocations: 359.2 kB / 0.7919 GB, free: 160.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/0.9983, allocations: 6.135 MB / 0.7979 GB, free: 158.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.519e-05/0.9983, allocations: 36.31 kB / 0.798 GB, free: 158.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/0.9984, allocations: 5.438 kB / 0.798 GB, free: 158.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6e-05/0.9984, allocations: 18.66 kB / 0.798 GB, free: 158.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02657/1.025, allocations: 17.27 MB / 0.8148 GB, free: 150.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/1.025, allocations: 3.969 kB / 0.8148 GB, free: 150.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002044/1.027, allocations: 0.5614 MB / 0.8154 GB, free: 150.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003393/1.03, allocations: 1.325 MB / 0.8167 GB, free: 150.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003958/1.031, allocations: 81.83 kB / 0.8168 GB, free: 150.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/1.047, allocations: 12.99 MB / 0.8295 GB, free: 142.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01553/1.062, allocations: 11.98 MB / 0.8412 GB, free: 134 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/1.074, allocations: 8.546 MB / 0.8495 GB, free: 125.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002165/1.076, allocations: 0.7516 MB / 0.8502 GB, free: 124.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008705/1.077, allocations: 71.98 kB / 0.8503 GB, free: 124.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/1.08, allocations: 167.9 kB / 0.8505 GB, free: 124.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006951/1.08, allocations: 274.6 kB / 0.8507 GB, free: 124 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002665/1.081, allocations: 108 kB / 0.8508 GB, free: 123.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002931/1.084, allocations: 2.017 MB / 0.8528 GB, free: 121.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.084, allocations: 4 kB / 0.8528 GB, free: 121.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005473/1.089, allocations: 1.363 MB / 0.8541 GB, free: 120.5 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.01348/1.103, allocations: 9.234 MB / 0.8631 GB, free: 111.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.113, allocations: 6.061 MB / 0.8691 GB, free: 105.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.113, allocations: 4 kB / 0.8691 GB, free: 105.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005604/1.118, allocations: 3.005 MB / 0.872 GB, free: 102 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00465/1.123, allocations: 0.6689 MB / 0.8727 GB, free: 101.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06811/1.191, allocations: 43.7 MB / 0.9153 GB, free: 55.74 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004179/1.195, allocations: 4.289 MB / 0.9195 GB, free: 51.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003381/1.199, allocations: 1.363 MB / 0.9209 GB, free: 50.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003445/1.202, allocations: 2.307 MB / 0.9231 GB, free: 47.73 MB / 0.545 GB Notification: Performance of SimCode: time 1.262e-06/1.202, allocations: 0 / 0.9231 GB, free: 47.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3741/1.576, allocations: 110.1 MB / 1.031 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.45/23.02, allocations: 10.98 kB / 1.031 GB, free: 163.9 MB / 0.5606 GB " [Timeout remaining time 637] (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 sys.exit(0), Time elapsed: 34.619554411037825] Failed to read output from testmodel.py, exit status != 0: 23.259197295992635 23.279929745 22.824425607 Calling exit ...