Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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.001496/0.001496, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.542/1.542, allocations: 177.1 MB / 199.7 MB, free: 5.812 MB / 186.7 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.001811/0.001811, allocations: 172.5 kB / 256.3 MB, free: 13.17 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.03856/0.03856, allocations: 6.657 MB / 319.4 MB, free: 26.58 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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 391 MB, free: 2.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.522e-05/3.726e-05, allocations: 5.828 kB / 391 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.1858/0.1858, allocations: 22.03 MB / 413 MB, free: 68.96 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01968/0.2055, allocations: 7.731 MB / 420.7 MB, free: 67.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006812/0.2123, allocations: 204.3 kB / 420.9 MB, free: 67.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01824/0.2305, allocations: 7.551 MB / 428.5 MB, free: 64.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01329/0.2438, allocations: 3.159 MB / 431.6 MB, free: 62.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007147/0.251, allocations: 2.015 MB / 433.6 MB, free: 60.95 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01285/0.2638, allocations: 9.694 MB / 443.3 MB, free: 54.4 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02138/0.2852, allocations: 11.23 MB / 454.6 MB, free: 43.05 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0156/0.3008, allocations: 7.137 MB / 461.7 MB, free: 35.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008406/0.3092, allocations: 4.527 MB / 466.2 MB, free: 31.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003698/0.3129, allocations: 1.352 MB / 467.6 MB, free: 30.01 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006022/0.3189, allocations: 1.741 MB / 469.3 MB, free: 28.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00362/0.3226, allocations: 2.727 MB / 472 MB, free: 25.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007706/0.3303, allocations: 3.411 MB / 475.5 MB, free: 22.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02304/0.3533, allocations: 18.49 MB / 493.9 MB, free: 3.578 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3533, allocations: 0 / 493.9 MB, free: 3.578 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.3533, allocations: 4 kB / 494 MB, free: 3.574 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005722/0.3539, allocations: 0 / 494 MB, free: 3.574 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.03637/0.3902, allocations: 10.81 MB / 0.4929 GB, free: 8.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.3903, allocations: 8.031 kB / 0.4929 GB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04004/0.4303, allocations: 7.035 MB / 0.4998 GB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01746/0.4478, allocations: 6.098 MB / 0.5058 GB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001012/0.4488, allocations: 0.5741 MB / 0.5063 GB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003988/0.4528, allocations: 0.7694 MB / 0.5071 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04162/0.4944, allocations: 12.97 MB / 0.5197 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004629/0.4949, allocations: 15.84 kB / 0.5198 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003317/0.4982, allocations: 324 kB / 0.5201 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007997/0.499, allocations: 0.4967 MB / 0.5206 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04189/0.5409, allocations: 12.23 MB / 0.5325 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3805/0.9214, allocations: 37.6 MB / 0.5692 GB, free: 100.4 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01712/0.9385, allocations: 8.943 MB / 0.578 GB, free: 97.95 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004933/0.9434, allocations: 2.72 MB / 0.5806 GB, free: 96.8 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005021/0.9439, allocations: 124.9 kB / 0.5807 GB, free: 96.76 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004598/0.9485, allocations: 2.798 MB / 0.5835 GB, free: 94.88 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 9.849e-06/0.9485, allocations: 0 / 0.5835 GB, free: 94.88 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.04484/0.9934, allocations: 18.46 MB / 0.6015 GB, free: 81.37 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.9935, allocations: 351.5 kB / 0.6018 GB, free: 80.95 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006492/1, allocations: 3.369 MB / 0.6051 GB, free: 77.66 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000859/1.001, allocations: 89.7 kB / 0.6052 GB, free: 77.56 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002259/1.003, allocations: 3.497 MB / 0.6086 GB, free: 74.52 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001647/1.005, allocations: 1.397 MB / 0.61 GB, free: 73.14 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003997/1.009, allocations: 1.1 MB / 0.611 GB, free: 72.04 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.283e-05/1.009, allocations: 305.1 kB / 0.6113 GB, free: 71.73 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004419/1.013, allocations: 2.581 MB / 0.6139 GB, free: 69.14 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005552/1.019, allocations: 4.717 MB / 0.6185 GB, free: 63.49 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009805/1.029, allocations: 7.467 MB / 0.6258 GB, free: 55.15 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.504e-05/1.029, allocations: 20 kB / 0.6258 GB, free: 55.13 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01835/1.047, allocations: 8.546 MB / 0.6341 GB, free: 46.55 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/1.047, allocations: 61.69 kB / 0.6342 GB, free: 46.49 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.801e-05/1.047, allocations: 60 kB / 0.6342 GB, free: 46.43 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003549/1.051, allocations: 1.164 MB / 0.6354 GB, free: 45.26 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004698/1.055, allocations: 1.275 MB / 0.6366 GB, free: 43.99 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/1.067, allocations: 8.583 MB / 0.645 GB, free: 35.31 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005151/1.072, allocations: 351.5 kB / 0.6453 GB, free: 34.96 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/1.074, allocations: 271.9 kB / 0.6456 GB, free: 34.7 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,48,52.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007294/1.081, allocations: 2.898 MB / 0.6484 GB, free: 31.78 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002336/1.083, allocations: 0.5054 MB / 0.6489 GB, free: 31.27 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/1.097, allocations: 6.168 MB / 0.6549 GB, free: 25.04 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.274e-05/1.097, allocations: 40 kB / 0.655 GB, free: 25 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.504e-05/1.097, allocations: 8 kB / 0.655 GB, free: 25 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.21e-05/1.097, allocations: 23.92 kB / 0.655 GB, free: 24.97 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02817/1.126, allocations: 12.76 MB / 0.6675 GB, free: 12.15 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.498e-05/1.126, allocations: 7.938 kB / 0.6675 GB, free: 12.14 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003212/1.129, allocations: 0.6904 MB / 0.6682 GB, free: 11.45 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003431/1.132, allocations: 1.022 MB / 0.6692 GB, free: 10.43 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00091/1.133, allocations: 95.91 kB / 0.6692 GB, free: 10.34 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/1.144, allocations: 7.519 MB / 0.6766 GB, free: 2.719 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.144, allocations: 4 kB / 0.6766 GB, free: 2.715 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02005/1.164, allocations: 8.942 MB / 0.6853 GB, free: 9.633 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003535/1.168, allocations: 0.8371 MB / 0.6861 GB, free: 8.793 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/1.17, allocations: 72 kB / 0.6862 GB, free: 8.723 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003484/1.173, allocations: 207.7 kB / 0.6864 GB, free: 8.52 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00124/1.174, allocations: 291 kB / 0.6867 GB, free: 8.23 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007055/1.175, allocations: 116 kB / 0.6868 GB, free: 8.117 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.005729/1.181, allocations: 2.169 MB / 0.6889 GB, free: 5.949 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.9e-07/1.181, allocations: 0 / 0.6889 GB, free: 5.949 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.008922/1.19, allocations: 1.453 MB / 0.6903 GB, free: 4.496 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/1.191, allocations: 262 kB / 0.6906 GB, free: 4.242 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0167/1.208, allocations: 6.275 MB / 0.6967 GB, free: 13.93 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-05/1.208, allocations: 6.891 kB / 0.6967 GB, free: 13.93 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008192/1.216, allocations: 2.912 MB / 0.6996 GB, free: 10.98 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006603/1.223, allocations: 0.7573 MB / 0.7003 GB, free: 10.27 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2097/1.432, allocations: 14.08 MB / 0.7141 GB, free: 133.2 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01318/1.445, allocations: 4.533 MB / 0.7185 GB, free: 132.8 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.006992/1.452, allocations: 1.557 MB / 0.72 GB, free: 132.8 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00237/1.455, allocations: 339.6 kB / 0.7203 GB, free: 132.8 MB / 426.8 MB Notification: Performance of SimCode: time 2.966e-06/1.455, allocations: 0 / 0.7203 GB, free: 132.8 MB / 426.8 MB Notification: Performance of Templates: time 0.09654/1.551, allocations: 54.11 MB / 0.7732 GB, free: 95.95 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.607041177921928]