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.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.001004/0.001004, allocations: 81.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.02/1.02, allocations: 177.1 MB / 200.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.001279/0.001279, allocations: 156.6 kB / 256.9 MB, free: 12.99 MB / 250.7 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.02431/0.02431, allocations: 6.66 MB / 320.1 MB, free: 26.35 MB / 266.7 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_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 1.393e-06/1.393e-06, allocations: 0 / 392.1 MB, free: 2.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.384e-05, allocations: 2.312 kB / 392.1 MB, free: 2.219 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.1416/0.1417, allocations: 24 MB / 416.1 MB, free: 69.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01492/0.1566, allocations: 7.954 MB / 424.1 MB, free: 67.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005473/0.162, allocations: 206.8 kB / 424.3 MB, free: 67.4 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009028/0.1711, allocations: 6.306 MB / 430.6 MB, free: 64.15 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009608/0.1807, allocations: 2.831 MB / 433.4 MB, free: 62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.1842, allocations: 1.626 MB / 435.1 MB, free: 60.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007659/0.1919, allocations: 7.645 MB / 442.7 MB, free: 55.95 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.203, allocations: 9.017 MB / 451.7 MB, free: 46.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00896/0.2119, allocations: 5.76 MB / 457.5 MB, free: 41.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005434/0.2174, allocations: 4.054 MB / 461.5 MB, free: 37.01 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002374/0.2197, allocations: 1.062 MB / 462.6 MB, free: 35.95 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003829/0.2236, allocations: 1.456 MB / 464 MB, free: 34.49 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001834/0.2254, allocations: 2.213 MB / 466.3 MB, free: 32.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004943/0.2303, allocations: 2.795 MB / 469.1 MB, free: 29.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006892/0.2372, allocations: 6.98 MB / 476 MB, free: 22.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.2372, allocations: 4 kB / 476 MB, free: 22.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2372, allocations: 0 / 476 MB, free: 22.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002667/0.2375, allocations: 3.938 kB / 476 MB, free: 22.46 MB / 330.7 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.01201/0.2495, allocations: 8.885 MB / 484.9 MB, free: 13.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.2496, allocations: 12.03 kB / 484.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.2612, allocations: 4.305 MB / 489.2 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005717/0.267, allocations: 4.179 MB / 493.4 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.2672, allocations: 493 kB / 493.9 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000793/0.268, allocations: 0.6288 MB / 494.5 MB, free: 3.816 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006389/0.2744, allocations: 5.168 MB / 499.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/0.2745, allocations: 11.94 kB / 499.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/0.2749, allocations: 260 kB / 500 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002856/0.2752, allocations: 425.6 kB / 0.4887 GB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004493/0.2797, allocations: 2.603 MB / 0.4912 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03391/0.3136, allocations: 27.04 MB / 0.5176 GB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005972/0.3196, allocations: 4.856 MB / 0.5223 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.3206, allocations: 0.8974 MB / 0.5232 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.3208, allocations: 130.2 kB / 0.5233 GB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.3208, allocations: 63.72 kB / 0.5234 GB, free: 10.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 4.478e-06/0.3208, allocations: 0 / 0.5234 GB, free: 10.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.009028/0.3299, allocations: 5.228 MB / 0.5285 GB, free: 4.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.3299, allocations: 89.78 kB / 0.5286 GB, free: 4.715 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.3323, allocations: 2.525 MB / 0.5311 GB, free: 2.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.3325, allocations: 73.7 kB / 0.5311 GB, free: 2.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.3339, allocations: 3.145 MB / 0.5342 GB, free: 14.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008666/0.3348, allocations: 1.108 MB / 0.5353 GB, free: 13.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009798/0.3358, allocations: 0.9968 MB / 0.5363 GB, free: 12.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3359, allocations: 484.7 kB / 0.5367 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007453/0.3366, allocations: 0.5204 MB / 0.5372 GB, free: 11.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.3386, allocations: 3.075 MB / 0.5402 GB, free: 7.609 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003606/0.3422, allocations: 4 MB / 0.5441 GB, free: 2.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.48e-05/0.3422, allocations: 16 kB / 0.5442 GB, free: 2.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.1532/0.4955, allocations: 3.679 MB / 0.5478 GB, free: 93.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/0.4955, allocations: 28.59 kB / 0.5478 GB, free: 93.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.967e-05/0.4956, allocations: 57.25 kB / 0.5478 GB, free: 93.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.4973, allocations: 0.6009 MB / 0.5484 GB, free: 93.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/0.5005, allocations: 0.9966 MB / 0.5494 GB, free: 93.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004301/0.5048, allocations: 4.19 MB / 0.5535 GB, free: 91.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.5072, allocations: 170.2 kB / 0.5536 GB, free: 91.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000358/0.5076, allocations: 196.7 kB / 0.5538 GB, free: 91.44 MB / 394.7 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.00147/0.5091, allocations: 460.7 kB / 0.5543 GB, free: 91.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000593/0.5097, allocations: 414.4 kB / 0.5547 GB, free: 91.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003708/0.5134, allocations: 2.492 MB / 0.5571 GB, free: 91.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.62e-05/0.5134, allocations: 30.88 kB / 0.5571 GB, free: 91.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.5134, allocations: 11.59 kB / 0.5571 GB, free: 91.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/0.5134, allocations: 14.89 kB / 0.5572 GB, free: 91.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.5235, allocations: 6.147 MB / 0.5632 GB, free: 90.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.5235, allocations: 4.625 kB / 0.5632 GB, free: 90.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.5248, allocations: 499.7 kB / 0.5636 GB, free: 90.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/0.5259, allocations: 0.4972 MB / 0.5641 GB, free: 90.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.5261, allocations: 71.5 kB / 0.5642 GB, free: 90.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00347/0.5296, allocations: 3.82 MB / 0.5679 GB, free: 88.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5296, allocations: 6.938 kB / 0.5679 GB, free: 88.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003275/0.5328, allocations: 2.991 MB / 0.5709 GB, free: 87.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008125/0.5337, allocations: 0.5464 MB / 0.5714 GB, free: 87.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/0.5339, allocations: 57.47 kB / 0.5714 GB, free: 87.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006887/0.5346, allocations: 71.67 kB / 0.5715 GB, free: 87.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.5348, allocations: 219.6 kB / 0.5717 GB, free: 87.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.5349, allocations: 77.69 kB / 0.5718 GB, free: 87.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001201/0.5361, allocations: 1.138 MB / 0.5729 GB, free: 87.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5361, allocations: 1.312 kB / 0.5729 GB, free: 87.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003455/0.5396, allocations: 1.167 MB / 0.574 GB, free: 87.07 MB / 394.7 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.0004061/0.54, allocations: 234.8 kB / 0.5743 GB, free: 86.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004204/0.5442, allocations: 2.731 MB / 0.5769 GB, free: 86.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.5442, allocations: 3.844 kB / 0.5769 GB, free: 86.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.546, allocations: 1.359 MB / 0.5783 GB, free: 86.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/0.5482, allocations: 0.5978 MB / 0.5789 GB, free: 86.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.5625, allocations: 9.339 MB / 0.588 GB, free: 79.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.564, allocations: 1.629 MB / 0.5896 GB, free: 78.31 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001862/0.5659, allocations: 0.5372 MB / 0.5901 GB, free: 77.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/0.5673, allocations: 0.7355 MB / 0.5908 GB, free: 77.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5673, allocations: 4 kB / 0.5908 GB, free: 77.23 MB / 394.7 MB Notification: Performance of Templates: time 0.06138/0.6287, allocations: 46.6 MB / 0.6363 GB, free: 31.93 MB / 394.7 MB " [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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.337192063219845]