Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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.001362/0.001362, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.5/1.5, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.001659/0.001659, allocations: 210.3 kB / 309.2 MB, free: 3.145 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.0419/0.0419, allocations: 8.915 MB / 374.6 MB, free: 1.902 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_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") [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.002869/0.002869, allocations: 83.88 kB / 0.4897 GB, free: 6.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3276, allocations: 55.59 MB / 0.544 GB, free: 27.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.0219/0.3495, allocations: 25.67 MB / 0.5691 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01748/0.3669, allocations: 8.079 MB / 0.577 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006657/0.3736, allocations: 204.9 kB / 0.5772 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01887/0.3925, allocations: 7.76 MB / 0.5848 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01367/0.4061, allocations: 3.186 MB / 0.5879 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007008/0.4131, allocations: 2.081 MB / 0.5899 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01859/0.4317, allocations: 9.408 MB / 0.5991 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02195/0.4537, allocations: 11.36 MB / 0.6102 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.4638, allocations: 4.882 MB / 0.6149 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01111/0.4749, allocations: 5.365 MB / 0.6202 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00513/0.4801, allocations: 1.355 MB / 0.6215 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00722/0.4873, allocations: 1.746 MB / 0.6232 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004315/0.4916, allocations: 2.681 MB / 0.6258 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009313/0.5009, allocations: 5.09 MB / 0.6308 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.025/0.5259, allocations: 18.23 MB / 0.6486 GB, free: 1.625 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.5259, allocations: 0 / 0.6486 GB, free: 1.625 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5259, allocations: 3.938 kB / 0.6486 GB, free: 1.621 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004945/0.5264, allocations: 0 / 0.6486 GB, free: 1.621 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.03832/0.5647, allocations: 10.89 MB / 0.6592 GB, free: 6.637 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.5648, allocations: 11.97 kB / 0.6593 GB, free: 6.625 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03413/0.5989, allocations: 5.661 MB / 0.6648 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01751/0.6164, allocations: 5.852 MB / 0.6705 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001025/0.6174, allocations: 0.5819 MB / 0.6711 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004263/0.6217, allocations: 0.7577 MB / 0.6718 GB, free: 9.699 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03465/0.6564, allocations: 12.8 MB / 0.6843 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002622/0.6566, allocations: 11.95 kB / 0.6843 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002119/0.6587, allocations: 324 kB / 0.6846 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005865/0.6593, allocations: 0.4967 MB / 0.6851 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5784/1.238, allocations: 12.28 MB / 0.6971 GB, free: 106.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07604/1.314, allocations: 41.4 MB / 0.7375 GB, free: 83.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01814/1.332, allocations: 9.015 MB / 0.7463 GB, free: 79.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004855/1.337, allocations: 2.714 MB / 0.749 GB, free: 78.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003942/1.337, allocations: 118.8 kB / 0.7491 GB, free: 78.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003485/1.341, allocations: 2.593 MB / 0.7516 GB, free: 76.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=391): time 5.19e-06/1.341, allocations: 3.188 kB / 0.7516 GB, free: 76.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=397): time 0.03423/1.375, allocations: 18.27 MB / 0.7695 GB, free: 65.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.202e-05/1.375, allocations: 371.4 kB / 0.7698 GB, free: 64.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00427/1.379, allocations: 3.533 MB / 0.7733 GB, free: 61.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005356/1.38, allocations: 85.7 kB / 0.7734 GB, free: 61.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/1.381, allocations: 3.501 MB / 0.7768 GB, free: 57.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008961/1.382, allocations: 1.412 MB / 0.7782 GB, free: 56.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001308/1.383, allocations: 1.101 MB / 0.7792 GB, free: 55.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.207e-05/1.383, allocations: 305.1 kB / 0.7795 GB, free: 55.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/1.386, allocations: 2.556 MB / 0.782 GB, free: 52.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003688/1.39, allocations: 4.52 MB / 0.7864 GB, free: 47.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007189/1.397, allocations: 7.459 MB / 0.7937 GB, free: 38.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.345e-05/1.397, allocations: 24 kB / 0.7937 GB, free: 38.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.0114/1.409, allocations: 8.293 MB / 0.8018 GB, free: 30.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/1.409, allocations: 55.27 kB / 0.8019 GB, free: 30.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.047e-05/1.409, allocations: 63.98 kB / 0.802 GB, free: 30.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/1.411, allocations: 0.9968 MB / 0.8029 GB, free: 29.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004266/1.416, allocations: 1.264 MB / 0.8042 GB, free: 28.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/1.426, allocations: 8.726 MB / 0.8127 GB, free: 19.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004412/1.43, allocations: 347.5 kB / 0.813 GB, free: 18.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006179/1.431, allocations: 271.9 kB / 0.8133 GB, free: 18.66 MB / 494.1 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.004287/1.435, allocations: 2.902 MB / 0.8161 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008996/1.436, allocations: 413.4 kB / 0.8165 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00892/1.445, allocations: 6.14 MB / 0.8225 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.648e-05/1.445, allocations: 44 kB / 0.8225 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/1.445, allocations: 11.94 kB / 0.8226 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-05/1.445, allocations: 19.92 kB / 0.8226 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0234/1.469, allocations: 14.65 MB / 0.8369 GB, free: 10.35 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/1.469, allocations: 4 kB / 0.8369 GB, free: 10.35 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002907/1.472, allocations: 0.6948 MB / 0.8376 GB, free: 9.652 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002575/1.474, allocations: 0.8677 MB / 0.8384 GB, free: 8.781 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00031/1.474, allocations: 91.97 kB / 0.8385 GB, free: 8.691 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/1.487, allocations: 7.647 MB / 0.846 GB, free: 0.9297 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.299e-05/1.487, allocations: 15.97 kB / 0.846 GB, free: 0.9141 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/1.503, allocations: 8.8 MB / 0.8546 GB, free: 7.992 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002814/1.506, allocations: 0.8565 MB / 0.8554 GB, free: 7.133 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007575/1.507, allocations: 76 kB / 0.8555 GB, free: 7.059 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002046/1.509, allocations: 199.8 kB / 0.8557 GB, free: 6.863 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005965/1.509, allocations: 291 kB / 0.856 GB, free: 6.578 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002547/1.51, allocations: 120 kB / 0.8561 GB, free: 6.461 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004058/1.514, allocations: 2.371 MB / 0.8584 GB, free: 4.098 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/1.514, allocations: 0 / 0.8584 GB, free: 4.098 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.005653/1.519, allocations: 1.453 MB / 0.8598 GB, free: 2.645 MB / 0.5138 GB 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.0007016/1.52, allocations: 246.2 kB / 0.86 GB, free: 2.398 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01287/1.533, allocations: 6.231 MB / 0.8661 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/1.533, allocations: 4 kB / 0.8661 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006232/1.539, allocations: 2.883 MB / 0.8689 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004904/1.544, allocations: 0.817 MB / 0.8697 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02859/1.573, allocations: 14 MB / 0.8834 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007112/1.58, allocations: 5 MB / 0.8883 GB, free: 5.297 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005143/1.585, allocations: 1.594 MB / 0.8899 GB, free: 3.699 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.586, allocations: 351.3 kB / 0.8902 GB, free: 3.355 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/1.586, allocations: 0 / 0.8902 GB, free: 3.355 MB / 0.545 GB Notification: Performance of Templates: time 0.3868/1.973, allocations: 64.57 MB / 0.9532 GB, free: 154.2 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.787333282176405] Failed to read output from testmodel.py, exit status != 0: 1.9827867781277746 1.992567765 1.463932946 Calling exit ...