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.00137/0.00137, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.456/1.456, allocations: 230.6 MB / 252.6 MB, free: 8.32 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.001588/0.001588, allocations: 220 kB / 309.2 MB, free: 3.156 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.04333/0.04333, allocations: 8.905 MB / 374.6 MB, free: 1.918 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_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") [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.002602/0.002602, allocations: 85.39 kB / 0.4897 GB, free: 4.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1295, allocations: 55.62 MB / 0.544 GB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.03159/0.1611, allocations: 25.64 MB / 0.5691 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01993/0.181, allocations: 8.165 MB / 0.577 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006961/0.188, allocations: 199.1 kB / 0.5772 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01679/0.2047, allocations: 6.204 MB / 0.5833 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.2153, allocations: 2.852 MB / 0.5861 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005638/0.2209, allocations: 1.683 MB / 0.5877 GB, free: 7.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01273/0.2337, allocations: 7.406 MB / 0.595 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01865/0.2523, allocations: 9.117 MB / 0.6039 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006825/0.2591, allocations: 3.845 MB / 0.6076 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008361/0.2675, allocations: 4.31 MB / 0.6118 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003475/0.271, allocations: 1.074 MB / 0.6129 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005349/0.2763, allocations: 1.46 MB / 0.6143 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004148/0.2805, allocations: 2.151 MB / 0.6164 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008327/0.2888, allocations: 4.113 MB / 0.6204 GB, free: 5.945 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02144/0.3102, allocations: 14.51 MB / 0.6346 GB, free: 7.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3103, allocations: 4 kB / 0.6346 GB, free: 7.387 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3103, allocations: 0 / 0.6346 GB, free: 7.387 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003677/0.3106, allocations: 0 / 0.6346 GB, free: 7.387 MB / 446.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.02709/0.3377, allocations: 8.892 MB / 0.6433 GB, free: 14.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3378, allocations: 8.031 kB / 0.6433 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02638/0.3641, allocations: 4.413 MB / 0.6476 GB, free: 9.984 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/0.3759, allocations: 4.629 MB / 0.6521 GB, free: 5.305 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006567/0.3765, allocations: 489.1 kB / 0.6526 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004705/0.3813, allocations: 0.6249 MB / 0.6532 GB, free: 4.199 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2809/0.6621, allocations: 10.38 MB / 0.6633 GB, free: 89.01 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003067/0.6624, allocations: 14.11 kB / 0.6633 GB, free: 89.01 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001904/0.6643, allocations: 263 kB / 0.6636 GB, free: 88.81 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005625/0.6649, allocations: 421.5 kB / 0.664 GB, free: 88.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02072/0.6856, allocations: 9.899 MB / 0.6736 GB, free: 85.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05792/0.7435, allocations: 33.52 MB / 0.7064 GB, free: 59.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.7562, allocations: 6.775 MB / 0.713 GB, free: 53.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003017/0.7592, allocations: 2.11 MB / 0.7151 GB, free: 51.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/0.7595, allocations: 100.7 kB / 0.7152 GB, free: 51.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.7595, allocations: 60.89 kB / 0.7152 GB, free: 51.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=295): time 5.42e-06/0.7595, allocations: 0 / 0.7152 GB, free: 51.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=301): time 0.01987/0.7794, allocations: 10.81 MB / 0.7258 GB, free: 40.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.7795, allocations: 81.78 kB / 0.7259 GB, free: 40.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004368/0.7838, allocations: 3.03 MB / 0.7288 GB, free: 37.31 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002887/0.7841, allocations: 69.7 kB / 0.7289 GB, free: 37.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.7854, allocations: 2.971 MB / 0.7318 GB, free: 34.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007157/0.7861, allocations: 1.088 MB / 0.7328 GB, free: 33.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/0.7873, allocations: 0.9177 MB / 0.7337 GB, free: 32.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.708e-05/0.7874, allocations: 309.1 kB / 0.734 GB, free: 32.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/0.7898, allocations: 2.031 MB / 0.736 GB, free: 30.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00307/0.7929, allocations: 3.732 MB / 0.7397 GB, free: 25.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005991/0.7988, allocations: 6.055 MB / 0.7456 GB, free: 18.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.728e-05/0.7989, allocations: 16 kB / 0.7456 GB, free: 18.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0098/0.8087, allocations: 6.648 MB / 0.7521 GB, free: 11.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.8087, allocations: 31.94 kB / 0.7521 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.45e-05/0.8088, allocations: 56 kB / 0.7522 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/0.8104, allocations: 0.6729 MB / 0.7528 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003519/0.8139, allocations: 1.076 MB / 0.7539 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007202/0.8211, allocations: 6.119 MB / 0.7598 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/0.8247, allocations: 279.7 kB / 0.7601 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005663/0.8252, allocations: 239.9 kB / 0.7603 GB, free: 3.391 MB / 462.1 MB 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.003831/0.8291, allocations: 2.311 MB / 0.7626 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008222/0.8299, allocations: 345.9 kB / 0.7629 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008546/0.8384, allocations: 4.61 MB / 0.7674 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/0.8385, allocations: 28 kB / 0.7675 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.8385, allocations: 8 kB / 0.7675 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.588e-05/0.8385, allocations: 19.88 kB / 0.7675 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02277/0.8613, allocations: 11.1 MB / 0.7783 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.8613, allocations: 4 kB / 0.7783 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002419/0.8637, allocations: 0.5382 MB / 0.7788 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.8655, allocations: 0.5735 MB / 0.7794 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004007/0.8659, allocations: 67.98 kB / 0.7795 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008291/0.8742, allocations: 5.35 MB / 0.7847 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.8742, allocations: 4 kB / 0.7847 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/0.8857, allocations: 6.601 MB / 0.7911 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002263/0.8879, allocations: 0.6654 MB / 0.7918 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007482/0.8887, allocations: 59.94 kB / 0.7919 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/0.8906, allocations: 147.9 kB / 0.792 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000458/0.8911, allocations: 221.8 kB / 0.7922 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/0.8913, allocations: 95.98 kB / 0.7923 GB, free: 2.219 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003559/0.8948, allocations: 2.021 MB / 0.7943 GB, free: 200 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8948, allocations: 0 / 0.7943 GB, free: 200 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.004764/0.8996, allocations: 1.172 MB / 0.7954 GB, free: 15.02 MB / 0.4981 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.0006055/0.9002, allocations: 231.9 kB / 0.7956 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00928/0.9095, allocations: 4.835 MB / 0.8004 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-05/0.9095, allocations: 8.125 kB / 0.8004 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004324/0.9138, allocations: 2.101 MB / 0.8024 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/0.9174, allocations: 0.6492 MB / 0.8031 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/0.9408, allocations: 11.22 MB / 0.814 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00562/0.9464, allocations: 4.154 MB / 0.8181 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004299/0.9507, allocations: 1.33 MB / 0.8194 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.9517, allocations: 287.4 kB / 0.8196 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.9517, allocations: 0 / 0.8196 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of Templates: time 0.1038/1.056, allocations: 49.8 MB / 0.8683 GB, free: 4.57 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.966371241956949] Failed to read output from testmodel.py, exit status != 0: 1.0657901030499488 1.31937719 1.006097109 Calling exit ...