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.00134/0.00134, 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.4/1.4, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.001514/0.001514, allocations: 221 kB / 309.2 MB, free: 3.086 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.04002/0.04002, allocations: 8.929 MB / 374.6 MB, free: 6.645 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",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.002438/0.002438, allocations: 87.88 kB / 0.4892 GB, free: 44.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08157/0.08401, allocations: 55.61 MB / 0.5435 GB, free: 5.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.2089/0.2929, allocations: 21.95 MB / 0.5649 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.3053, allocations: 7.764 MB / 0.5725 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00436/0.3097, allocations: 203.3 kB / 0.5727 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01317/0.3229, allocations: 5.719 MB / 0.5783 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009085/0.3319, allocations: 2.772 MB / 0.581 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005295/0.3372, allocations: 1.603 MB / 0.5825 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009764/0.347, allocations: 7.399 MB / 0.5898 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01544/0.3625, allocations: 8.994 MB / 0.5985 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006929/0.3694, allocations: 3.846 MB / 0.6023 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008128/0.3775, allocations: 4.031 MB / 0.6062 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002811/0.3803, allocations: 1.073 MB / 0.6073 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005013/0.3853, allocations: 1.444 MB / 0.6087 GB, free: 9.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003805/0.3891, allocations: 2.149 MB / 0.6108 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007514/0.3967, allocations: 3.21 MB / 0.6139 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01835/0.415, allocations: 14.55 MB / 0.6281 GB, free: 7.012 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.415, allocations: 0 / 0.6281 GB, free: 7.012 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.415, allocations: 0 / 0.6281 GB, free: 7.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003271/0.4153, allocations: 0 / 0.6281 GB, free: 7.012 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.02693/0.4423, allocations: 8.893 MB / 0.6368 GB, free: 14.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.4423, allocations: 11.98 kB / 0.6368 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003393/0.4457, allocations: 1.041 MB / 0.6379 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0257/0.4714, allocations: 4.425 MB / 0.6422 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/0.4825, allocations: 4.63 MB / 0.6467 GB, free: 3.863 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005247/0.4831, allocations: 481.1 kB / 0.6472 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002275/0.4853, allocations: 0.6327 MB / 0.6478 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02637/0.5117, allocations: 10.48 MB / 0.658 GB, free: 8.176 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000274/0.512, allocations: 15.89 kB / 0.658 GB, free: 8.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001858/0.5138, allocations: 268 kB / 0.6583 GB, free: 7.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005013/0.5143, allocations: 421.7 kB / 0.6587 GB, free: 7.484 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02129/0.5356, allocations: 9.86 MB / 0.6683 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06012/0.5957, allocations: 30.78 MB / 0.6984 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.015/0.6108, allocations: 6.69 MB / 0.7049 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003857/0.6146, allocations: 2.109 MB / 0.707 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000337/0.6149, allocations: 78.25 kB / 0.707 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.128e-05/0.615, allocations: 64.89 kB / 0.7071 GB, free: 5.762 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 5.821e-06/0.615, allocations: 4 kB / 0.7071 GB, free: 5.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02219/0.6372, allocations: 10.82 MB / 0.7177 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.6373, allocations: 81.78 kB / 0.7178 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00477/0.6421, allocations: 3.13 MB / 0.7208 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003341/0.6424, allocations: 77.7 kB / 0.7209 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002211/0.6446, allocations: 2.97 MB / 0.7238 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/0.6457, allocations: 1.085 MB / 0.7248 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001385/0.6471, allocations: 0.9216 MB / 0.7257 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6472, allocations: 305.1 kB / 0.726 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003162/0.6504, allocations: 2.027 MB / 0.728 GB, free: 152 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004741/0.6551, allocations: 3.749 MB / 0.7317 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008697/0.6638, allocations: 6.062 MB / 0.7376 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.908e-05/0.6639, allocations: 16 kB / 0.7376 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01202/0.6759, allocations: 6.655 MB / 0.7441 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.35e-05/0.6759, allocations: 28 kB / 0.7441 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.193e-05/0.676, allocations: 56 kB / 0.7442 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/0.6779, allocations: 0.6565 MB / 0.7448 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003883/0.6818, allocations: 1.076 MB / 0.7459 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009295/0.6911, allocations: 6.03 MB / 0.7518 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003377/0.6944, allocations: 283.5 kB / 0.752 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005187/0.695, allocations: 235.9 kB / 0.7523 GB, free: 5.543 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.0042/0.6992, allocations: 2.315 MB / 0.7545 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007974/0.7, allocations: 341.8 kB / 0.7549 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00837/0.7083, allocations: 4.61 MB / 0.7594 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.06e-05/0.7084, allocations: 31.94 kB / 0.7594 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.7084, allocations: 8 kB / 0.7594 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-05/0.7084, allocations: 15.94 kB / 0.7594 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01995/0.7283, allocations: 10.58 MB / 0.7697 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.7284, allocations: 4 kB / 0.7697 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002065/0.7304, allocations: 0.5388 MB / 0.7703 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/0.7321, allocations: 0.5632 MB / 0.7708 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002035/0.7323, allocations: 71.97 kB / 0.7709 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2175/0.9498, allocations: 5.245 MB / 0.776 GB, free: 166.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.9498, allocations: 10.91 kB / 0.776 GB, free: 166.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00931/0.9591, allocations: 6.596 MB / 0.7825 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001992/0.9611, allocations: 0.6628 MB / 0.7831 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004626/0.9615, allocations: 58.53 kB / 0.7832 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/0.963, allocations: 145.6 kB / 0.7833 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004337/0.9635, allocations: 224 kB / 0.7835 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/0.9637, allocations: 91.03 kB / 0.7836 GB, free: 165.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002934/0.9666, allocations: 2.015 MB / 0.7856 GB, free: 164.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.9666, allocations: 0 / 0.7856 GB, free: 164.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003682/0.9703, allocations: 1.181 MB / 0.7867 GB, free: 164.2 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.009398/0.9797, allocations: 7.278 MB / 0.7938 GB, free: 160.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007816/0.9875, allocations: 4.831 MB / 0.7985 GB, free: 159 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.9875, allocations: 3.719 kB / 0.7985 GB, free: 159 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003537/0.991, allocations: 2.116 MB / 0.8006 GB, free: 158.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/0.9941, allocations: 0.6579 MB / 0.8013 GB, free: 157.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04797/1.042, allocations: 39.06 MB / 0.8394 GB, free: 130.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003249/1.045, allocations: 3.654 MB / 0.843 GB, free: 127.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00311/1.048, allocations: 1.325 MB / 0.8443 GB, free: 126.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002706/1.051, allocations: 2.253 MB / 0.8465 GB, free: 123.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.173e-06/1.051, allocations: 0 / 0.8465 GB, free: 123.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/1.179, allocations: 91.58 MB / 0.9359 GB, free: 32.85 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/16.46, allocations: 6.906 kB / 0.9359 GB, free: 32.84 MB / 0.545 GB " [Timeout remaining time 643] (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: 23.048104538116604] Failed to read output from testmodel.py, exit status != 0: 16.618268857710063 16.630198038 16.212779738 Calling exit ...