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.001334/0.001334, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.373/1.373, allocations: 177.1 MB / 199.4 MB, free: 8.441 MB / 190.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.001538/0.001538, allocations: 156.9 kB / 256 MB, free: 4.34 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.04082/0.04082, allocations: 6.658 MB / 319 MB, free: 5.398 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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 445.9 MB, free: 25.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.44e-05, allocations: 6.219 kB / 446 MB, free: 25.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.02396/0.02398, allocations: 22.01 MB / 468 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01521/0.03919, allocations: 7.78 MB / 475.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00459/0.04378, allocations: 203.1 kB / 475.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01464/0.05842, allocations: 6.018 MB / 482 MB, free: 5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008042/0.06647, allocations: 2.846 MB / 484.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003954/0.07042, allocations: 1.601 MB / 486.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1812/0.2516, allocations: 7.637 MB / 494 MB, free: 16.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01297/0.2646, allocations: 9.012 MB / 0.4913 GB, free: 13.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01101/0.2756, allocations: 5.654 MB / 0.4968 GB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006168/0.2818, allocations: 3.616 MB / 0.5003 GB, free: 9.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002277/0.2841, allocations: 1.071 MB / 0.5014 GB, free: 9.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004613/0.2887, allocations: 1.45 MB / 0.5028 GB, free: 9.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001916/0.2906, allocations: 2.19 MB / 0.5049 GB, free: 8.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006429/0.297, allocations: 2.763 MB / 0.5076 GB, free: 7.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01856/0.3156, allocations: 14.7 MB / 0.522 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.3156, allocations: 0 / 0.522 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3156, allocations: 0 / 0.522 GB, free: 10.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000358/0.3159, allocations: 0 / 0.522 GB, free: 10.66 MB / 366.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.02833/0.3443, allocations: 8.832 MB / 0.5306 GB, free: 1.852 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.3443, allocations: 11.98 kB / 0.5306 GB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0275/0.3718, allocations: 4.425 MB / 0.5349 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01165/0.3835, allocations: 4.61 MB / 0.5394 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006289/0.3841, allocations: 494.1 kB / 0.5399 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002728/0.3868, allocations: 0.6341 MB / 0.5405 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02785/0.4147, allocations: 10.48 MB / 0.5507 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002495/0.4149, allocations: 15.94 kB / 0.5508 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001755/0.4167, allocations: 264.9 kB / 0.551 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004996/0.4172, allocations: 413.7 kB / 0.5514 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02083/0.438, allocations: 9.855 MB / 0.561 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05786/0.4959, allocations: 29.7 MB / 0.59 GB, free: 4.984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01549/0.5114, allocations: 6.694 MB / 0.5966 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004226/0.5156, allocations: 2.105 MB / 0.5986 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003619/0.516, allocations: 74.27 kB / 0.5987 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.421e-05/0.516, allocations: 72.83 kB / 0.5988 GB, free: 12.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=295): time 6.452e-06/0.516, allocations: 0 / 0.5988 GB, free: 12.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=301): time 0.02581/0.5418, allocations: 10.79 MB / 0.6093 GB, free: 1.902 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.5419, allocations: 81.78 kB / 0.6094 GB, free: 1.809 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006017/0.5479, allocations: 2.888 MB / 0.6122 GB, free: 14.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003659/0.5483, allocations: 81.7 kB / 0.6123 GB, free: 14.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002565/0.5509, allocations: 2.963 MB / 0.6152 GB, free: 11.85 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001381/0.5523, allocations: 1.076 MB / 0.6162 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001921/0.5542, allocations: 0.9138 MB / 0.6171 GB, free: 9.859 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5543, allocations: 305.1 kB / 0.6174 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003788/0.5581, allocations: 2.027 MB / 0.6194 GB, free: 7.523 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005632/0.5637, allocations: 3.758 MB / 0.6231 GB, free: 2.996 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009816/0.5736, allocations: 6.056 MB / 0.629 GB, free: 12.37 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.255e-05/0.5736, allocations: 16 kB / 0.629 GB, free: 12.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01378/0.5874, allocations: 6.623 MB / 0.6355 GB, free: 6.039 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.03e-05/0.5875, allocations: 28 kB / 0.6355 GB, free: 6.012 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001258/0.5876, allocations: 56 kB / 0.6355 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002114/0.5897, allocations: 0.6618 MB / 0.6362 GB, free: 5.293 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004133/0.5939, allocations: 1.076 MB / 0.6372 GB, free: 4.293 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.6042, allocations: 6.008 MB / 0.6431 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003879/0.6081, allocations: 275.6 kB / 0.6434 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008138/0.6089, allocations: 236 kB / 0.6436 GB, free: 13.72 MB / 494.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.005243/0.6142, allocations: 2.315 MB / 0.6458 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/0.6152, allocations: 318 kB / 0.6461 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009837/0.625, allocations: 4.604 MB / 0.6506 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/0.6251, allocations: 31.94 kB / 0.6507 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/0.6251, allocations: 8 kB / 0.6507 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.075e-05/0.6251, allocations: 15.94 kB / 0.6507 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2041/0.8292, allocations: 9.526 MB / 0.66 GB, free: 160.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.8293, allocations: 4.969 kB / 0.66 GB, free: 160.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/0.8314, allocations: 0.539 MB / 0.6605 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001685/0.8331, allocations: 0.5658 MB / 0.6611 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/0.8333, allocations: 69.91 kB / 0.6612 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007058/0.8403, allocations: 5.22 MB / 0.6662 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.403e-06/0.8403, allocations: 11.02 kB / 0.6663 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009584/0.8499, allocations: 6.556 MB / 0.6727 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/0.8515, allocations: 0.6481 MB / 0.6733 GB, free: 155.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004369/0.8519, allocations: 60.03 kB / 0.6734 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.8535, allocations: 141.4 kB / 0.6735 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004575/0.8539, allocations: 222.4 kB / 0.6737 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/0.8541, allocations: 92.2 kB / 0.6738 GB, free: 154.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002528/0.8566, allocations: 1.845 MB / 0.6756 GB, free: 154.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8566, allocations: 2.172 kB / 0.6756 GB, free: 154.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00402/0.8607, allocations: 1.166 MB / 0.6767 GB, free: 154.1 MB / 494.1 MB 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.000494/0.8611, allocations: 234 kB / 0.677 GB, free: 153.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006643/0.8678, allocations: 4.83 MB / 0.6817 GB, free: 152.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.8678, allocations: 3.812 kB / 0.6817 GB, free: 152.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003061/0.8709, allocations: 2.118 MB / 0.6837 GB, free: 151.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.8737, allocations: 0.5777 MB / 0.6843 GB, free: 151.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/0.8911, allocations: 11.1 MB / 0.6951 GB, free: 143.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003319/0.8944, allocations: 3.653 MB / 0.6987 GB, free: 140.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003161/0.8975, allocations: 1.306 MB / 0.7 GB, free: 140 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008118/0.8983, allocations: 278.2 kB / 0.7002 GB, free: 139.7 MB / 494.1 MB Notification: Performance of SimCode: time 8.62e-07/0.8983, allocations: 0 / 0.7002 GB, free: 139.7 MB / 494.1 MB Notification: Performance of Templates: time 0.06401/0.9624, allocations: 42.89 MB / 0.7421 GB, free: 98.84 MB / 494.1 MB " [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: 6.860100407153368] Failed to read output from testmodel.py, exit status != 0: 0.9711868949234486 0.984196401 0.6647901390000001 Calling exit ...