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.001645/0.001645, allocations: 110.2 kB / 19.7 MB, free: 2.25 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.46/1.46, allocations: 230.6 MB / 253.4 MB, free: 14.43 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.00245/0.00245, allocations: 215.8 kB / 310 MB, free: 3.121 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.04322/0.04322, allocations: 8.918 MB / 375.3 MB, free: 6.754 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: translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") [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.002855/0.002855, allocations: 83.86 kB / 0.4905 GB, free: 44.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09676/0.09961, allocations: 55.61 MB / 0.5448 GB, free: 4.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.271/0.3706, allocations: 25.61 MB / 0.5698 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01619/0.3868, allocations: 8.157 MB / 0.5777 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006206/0.393, allocations: 201 kB / 0.5779 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01493/0.408, allocations: 6.198 MB / 0.584 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.4188, allocations: 2.861 MB / 0.5868 GB, free: 6.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006049/0.4249, allocations: 1.68 MB / 0.5884 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01255/0.4374, allocations: 7.403 MB / 0.5956 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01797/0.4554, allocations: 9.124 MB / 0.6046 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009194/0.4646, allocations: 3.844 MB / 0.6083 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009104/0.4737, allocations: 4.309 MB / 0.6125 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003232/0.4769, allocations: 1.071 MB / 0.6136 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005793/0.4827, allocations: 1.462 MB / 0.615 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004431/0.4871, allocations: 2.159 MB / 0.6171 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008855/0.496, allocations: 4.113 MB / 0.6211 GB, free: 472 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02189/0.5179, allocations: 14.51 MB / 0.6353 GB, free: 1.902 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.5179, allocations: 0 / 0.6353 GB, free: 1.902 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5179, allocations: 0 / 0.6353 GB, free: 1.902 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004177/0.5183, allocations: 0 / 0.6353 GB, free: 1.902 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.02814/0.5464, allocations: 8.896 MB / 0.644 GB, free: 8.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.5465, allocations: 11.98 kB / 0.644 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02622/0.5727, allocations: 4.409 MB / 0.6483 GB, free: 4.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.013/0.5857, allocations: 4.633 MB / 0.6528 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006814/0.5864, allocations: 489 kB / 0.6533 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002792/0.5892, allocations: 0.621 MB / 0.6539 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02891/0.6181, allocations: 10.38 MB / 0.664 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003545/0.6184, allocations: 15.94 kB / 0.664 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002307/0.6207, allocations: 264 kB / 0.6643 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006088/0.6214, allocations: 421.6 kB / 0.6647 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02486/0.6462, allocations: 9.896 MB / 0.6744 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07337/0.7196, allocations: 33.51 MB / 0.7071 GB, free: 7.309 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01589/0.7355, allocations: 6.785 MB / 0.7137 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00444/0.7399, allocations: 2.11 MB / 0.7158 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/0.7404, allocations: 94.19 kB / 0.7159 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.7405, allocations: 72.83 kB / 0.7159 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 7.153e-06/0.7405, allocations: 0 / 0.7159 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.02769/0.7682, allocations: 10.81 MB / 0.7265 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/0.7683, allocations: 85.78 kB / 0.7266 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006708/0.775, allocations: 3.034 MB / 0.7295 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005875/0.7756, allocations: 77.7 kB / 0.7296 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002874/0.7785, allocations: 2.963 MB / 0.7325 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00173/0.7802, allocations: 1.085 MB / 0.7336 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00299/0.7832, allocations: 0.9177 MB / 0.7345 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.7833, allocations: 309.1 kB / 0.7348 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003959/0.7873, allocations: 2.024 MB / 0.7367 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005703/0.793, allocations: 3.728 MB / 0.7404 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.8033, allocations: 6.062 MB / 0.7463 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-05/0.8034, allocations: 19.94 kB / 0.7463 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01575/0.8191, allocations: 6.643 MB / 0.7528 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.235e-05/0.8192, allocations: 32 kB / 0.7528 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/0.8194, allocations: 52 kB / 0.7529 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002175/0.8215, allocations: 0.6682 MB / 0.7535 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004519/0.8261, allocations: 1.072 MB / 0.7546 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.8368, allocations: 6.142 MB / 0.7606 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00396/0.8408, allocations: 275.6 kB / 0.7608 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009823/0.8418, allocations: 228 kB / 0.7611 GB, free: 14.78 MB / 0.545 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.005561/0.8473, allocations: 2.319 MB / 0.7633 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001242/0.8486, allocations: 329.9 kB / 0.7636 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.8596, allocations: 4.626 MB / 0.7681 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.719e-05/0.8596, allocations: 32 kB / 0.7682 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/0.8596, allocations: 4 kB / 0.7682 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-05/0.8597, allocations: 15.94 kB / 0.7682 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2683/1.128, allocations: 11.1 MB / 0.779 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/1.128, allocations: 5.5 kB / 0.779 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/1.13, allocations: 0.5325 MB / 0.7796 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/1.132, allocations: 0.5654 MB / 0.7801 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004029/1.132, allocations: 71.5 kB / 0.7802 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00739/1.14, allocations: 5.344 MB / 0.7854 GB, free: 163.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/1.14, allocations: 8.219 kB / 0.7854 GB, free: 163.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/1.151, allocations: 6.596 MB / 0.7919 GB, free: 161.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002412/1.154, allocations: 0.6635 MB / 0.7925 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008938/1.155, allocations: 63.08 kB / 0.7926 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.157, allocations: 145.6 kB / 0.7927 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005139/1.157, allocations: 220.1 kB / 0.7929 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/1.157, allocations: 91.39 kB / 0.793 GB, free: 160.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003761/1.161, allocations: 2.021 MB / 0.795 GB, free: 160 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.161, allocations: 3.812 kB / 0.795 GB, free: 160 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006321/1.167, allocations: 1.177 MB / 0.7961 GB, free: 159.9 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.0009986/1.168, allocations: 222.3 kB / 0.7963 GB, free: 159.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009393/1.178, allocations: 4.834 MB / 0.8011 GB, free: 157.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.178, allocations: 3.891 kB / 0.8011 GB, free: 157.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004413/1.182, allocations: 2.121 MB / 0.8031 GB, free: 157.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005417/1.188, allocations: 0.6491 MB / 0.8038 GB, free: 156.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0234/1.211, allocations: 11.08 MB / 0.8146 GB, free: 151.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005801/1.217, allocations: 4.036 MB / 0.8185 GB, free: 150.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/1.218, allocations: 334 kB / 0.8189 GB, free: 150.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.573e-06/1.218, allocations: 0 / 0.8189 GB, free: 150.1 MB / 0.545 GB Notification: Performance of Templates: time 0.12/1.338, allocations: 108.5 MB / 0.9248 GB, free: 48.64 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.034197101835161] Failed to read output from testmodel.py, exit status != 0: 1.3489097841084003 1.360251035 0.839485846 Calling exit ...