Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 113 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 242.7 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 209.8 kB / 295.1 MB, free: 12.62 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03877/0.03877, allocations: 8.809 MB / 356 MB, free: 15.87 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 79.86 kB / 473.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.227, allocations: 51.57 MB / 0.5126 GB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.02712/0.2542, allocations: 25.42 MB / 0.5374 GB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01621/0.2704, allocations: 8.022 MB / 0.5453 GB, free: 11.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004345/0.2748, allocations: 175.5 kB / 0.5454 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01362/0.2885, allocations: 6.094 MB / 0.5514 GB, free: 5.156 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009302/0.2978, allocations: 2.751 MB / 0.5541 GB, free: 2.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004271/0.3021, allocations: 1.619 MB / 0.5557 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009492/0.3116, allocations: 7.267 MB / 0.5627 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01673/0.3283, allocations: 13.31 MB / 0.5757 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00509/0.3335, allocations: 3.724 MB / 0.5794 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006065/0.3395, allocations: 4.224 MB / 0.5835 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001998/0.3416, allocations: 1.074 MB / 0.5846 GB, free: 3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003159/0.3447, allocations: 1.429 MB / 0.586 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002097/0.3468, allocations: 2.143 MB / 0.588 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00519/0.352, allocations: 4.113 MB / 0.5921 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01589/0.3679, allocations: 14.47 MB / 0.6062 GB, free: 12.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.368, allocations: 0 / 0.6062 GB, free: 12.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.077e-06/0.368, allocations: 7.984 kB / 0.6062 GB, free: 12.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002837/0.3683, allocations: 0 / 0.6062 GB, free: 12.77 MB / 430.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.02276/0.3911, allocations: 8.933 MB / 0.6149 GB, free: 3.738 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3911, allocations: 8.031 kB / 0.6149 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02376/0.4149, allocations: 4.44 MB / 0.6193 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009614/0.4245, allocations: 4.622 MB / 0.6238 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004797/0.425, allocations: 489 kB / 0.6243 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002121/0.4272, allocations: 0.6288 MB / 0.6249 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02082/0.448, allocations: 10.35 MB / 0.635 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001518/0.4482, allocations: 15.92 kB / 0.635 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007369/0.4489, allocations: 268 kB / 0.6352 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004406/0.4494, allocations: 417.7 kB / 0.6356 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01866/0.4681, allocations: 9.868 MB / 0.6453 GB, free: 4.496 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2384/0.7065, allocations: 35.39 MB / 0.6798 GB, free: 108.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01288/0.7194, allocations: 20.66 MB / 0.7 GB, free: 91.49 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/0.7222, allocations: 2.307 MB / 0.7023 GB, free: 90.63 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.7225, allocations: 224.5 kB / 0.7025 GB, free: 90.44 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.7225, allocations: 63.73 kB / 0.7025 GB, free: 90.38 MB / 478.1 MB Notification: Performance of pre-optimization done (n=295): time 4.208e-06/0.7225, allocations: 0 / 0.7025 GB, free: 90.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=301): time 0.01618/0.7387, allocations: 10.95 MB / 0.7132 GB, free: 84.58 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.7388, allocations: 80.72 kB / 0.7133 GB, free: 84.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/0.7421, allocations: 3.028 MB / 0.7163 GB, free: 82.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002596/0.7423, allocations: 73.52 kB / 0.7163 GB, free: 82.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.7434, allocations: 2.967 MB / 0.7192 GB, free: 80.63 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005539/0.7439, allocations: 1.082 MB / 0.7203 GB, free: 79.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009865/0.7449, allocations: 0.9058 MB / 0.7212 GB, free: 79.05 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.591e-05/0.745, allocations: 309.1 kB / 0.7215 GB, free: 78.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.7471, allocations: 2.027 MB / 0.7235 GB, free: 76.71 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00257/0.7497, allocations: 3.727 MB / 0.7271 GB, free: 72.21 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004836/0.7545, allocations: 6.047 MB / 0.733 GB, free: 65.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-05/0.7545, allocations: 16 kB / 0.733 GB, free: 65.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.007666/0.7622, allocations: 6.651 MB / 0.7395 GB, free: 58.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.7623, allocations: 28 kB / 0.7395 GB, free: 58.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.642e-05/0.7623, allocations: 62.5 kB / 0.7396 GB, free: 58.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.7638, allocations: 0.6681 MB / 0.7402 GB, free: 57.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/0.7667, allocations: 1.069 MB / 0.7413 GB, free: 56.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006238/0.773, allocations: 6.224 MB / 0.7474 GB, free: 50.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/0.7757, allocations: 283.6 kB / 0.7476 GB, free: 50.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002666/0.7759, allocations: 228 kB / 0.7479 GB, free: 49.96 MB / 478.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.002518/0.7785, allocations: 2.311 MB / 0.7501 GB, free: 47.64 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004593/0.7789, allocations: 341.8 kB / 0.7504 GB, free: 47.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005755/0.7847, allocations: 4.63 MB / 0.755 GB, free: 42.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.7847, allocations: 32 kB / 0.755 GB, free: 42.59 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.7847, allocations: 7.938 kB / 0.755 GB, free: 42.58 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.7848, allocations: 15.94 kB / 0.755 GB, free: 42.57 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.7969, allocations: 11.09 MB / 0.7658 GB, free: 31.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.7969, allocations: 8.562 kB / 0.7659 GB, free: 31.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/0.7986, allocations: 0.5343 MB / 0.7664 GB, free: 30.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/0.7999, allocations: 0.563 MB / 0.7669 GB, free: 30.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.8001, allocations: 75.97 kB / 0.767 GB, free: 30.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005343/0.8054, allocations: 5.462 MB / 0.7723 GB, free: 24.61 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8054, allocations: 7.938 kB / 0.7723 GB, free: 24.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006907/0.8123, allocations: 6.605 MB / 0.7788 GB, free: 17.83 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.8134, allocations: 0.7408 MB / 0.7795 GB, free: 17.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003727/0.8138, allocations: 63.94 kB / 0.7796 GB, free: 17.01 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.8151, allocations: 143.8 kB / 0.7797 GB, free: 16.87 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002813/0.8154, allocations: 210 kB / 0.7799 GB, free: 16.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.8156, allocations: 87.98 kB / 0.78 GB, free: 16.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00205/0.8176, allocations: 2.013 MB / 0.782 GB, free: 14.56 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.8176, allocations: 0 / 0.782 GB, free: 14.56 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002862/0.8205, allocations: 1.18 MB / 0.7831 GB, free: 13.38 MB / 478.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.0003357/0.8209, allocations: 226.3 kB / 0.7833 GB, free: 13.15 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005664/0.8265, allocations: 5.045 MB / 0.7883 GB, free: 8.074 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8265, allocations: 0 / 0.7883 GB, free: 8.074 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002594/0.8291, allocations: 2.271 MB / 0.7905 GB, free: 5.789 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.8315, allocations: 0.6383 MB / 0.7911 GB, free: 5.172 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.8462, allocations: 11.03 MB / 0.8019 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003936/0.8502, allocations: 4.036 MB / 0.8058 GB, free: 5.957 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/0.8514, allocations: 307.3 kB / 0.8061 GB, free: 5.656 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.8514, allocations: 4 kB / 0.8061 GB, free: 5.652 MB / 494.1 MB Notification: Performance of Templates: time 0.2874/1.139, allocations: 106.6 MB / 0.9102 GB, free: 173.8 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.417784037999809] Failed to read output from testmodel.py, exit status != 0: 1.1442645629867911 1.152241636 0.782618018 Calling exit ...