Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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.001618/0.001618, allocations: 79.28 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.391/1.391, allocations: 177.1 MB / 199.4 MB, free: 8.445 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.00152/0.00152, allocations: 164.8 kB / 256 MB, free: 4.387 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.04095/0.04095, allocations: 6.667 MB / 319 MB, free: 5.441 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_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 445.9 MB, free: 25.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.461e-05, allocations: 2.281 kB / 446 MB, free: 25.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.0172/0.01722, allocations: 22.02 MB / 468 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01601/0.03323, allocations: 7.718 MB / 475.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005532/0.03876, allocations: 207 kB / 475.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02075/0.05951, allocations: 7.544 MB / 483.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.07036, allocations: 3.168 MB / 486.6 MB, free: 344 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1725/0.2428, allocations: 2.016 MB / 488.6 MB, free: 17.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01163/0.2545, allocations: 9.7 MB / 498.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01694/0.2714, allocations: 11.22 MB / 0.4976 GB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.2824, allocations: 7.137 MB / 0.5046 GB, free: 7.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00796/0.2903, allocations: 4.519 MB / 0.509 GB, free: 5.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003172/0.2935, allocations: 1.351 MB / 0.5103 GB, free: 5.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006008/0.2995, allocations: 1.736 MB / 0.512 GB, free: 3.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003907/0.3034, allocations: 2.736 MB / 0.5147 GB, free: 1.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0103/0.3137, allocations: 3.575 MB / 0.5182 GB, free: 15.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02499/0.3387, allocations: 18.49 MB / 0.5362 GB, free: 13.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3387, allocations: 1.438 kB / 0.5362 GB, free: 13.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3387, allocations: 4 kB / 0.5362 GB, free: 13.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006757/0.3394, allocations: 0 / 0.5362 GB, free: 13.2 MB / 382.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.03474/0.3741, allocations: 10.8 MB / 0.5468 GB, free: 2.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.3742, allocations: 15.98 kB / 0.5468 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03589/0.4101, allocations: 5.672 MB / 0.5523 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0143/0.4244, allocations: 5.842 MB / 0.558 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000681/0.425, allocations: 0.5796 MB / 0.5586 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002947/0.428, allocations: 0.7663 MB / 0.5593 GB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03206/0.46, allocations: 12.98 MB / 0.572 GB, free: 8.758 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002389/0.4603, allocations: 11.95 kB / 0.572 GB, free: 8.746 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001432/0.4617, allocations: 328.4 kB / 0.5723 GB, free: 8.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006117/0.4623, allocations: 0.4967 MB / 0.5728 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02617/0.4885, allocations: 12.22 MB / 0.5847 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06991/0.5584, allocations: 36.7 MB / 0.6206 GB, free: 6.824 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01976/0.5782, allocations: 8.918 MB / 0.6293 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005038/0.5832, allocations: 2.718 MB / 0.6319 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003408/0.5836, allocations: 94.97 kB / 0.632 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004383/0.5879, allocations: 2.791 MB / 0.6348 GB, free: 9.191 MB / 478.1 MB Notification: Performance of pre-optimization done (n=391): time 7.433e-06/0.5879, allocations: 4 kB / 0.6348 GB, free: 9.188 MB / 478.1 MB Notification: Performance of matching and sorting (n=397): time 0.04072/0.6287, allocations: 18.31 MB / 0.6527 GB, free: 6.832 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002988/0.629, allocations: 358.8 kB / 0.653 GB, free: 6.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005976/0.6349, allocations: 3.365 MB / 0.6563 GB, free: 3.031 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005167/0.6355, allocations: 89.7 kB / 0.6564 GB, free: 2.938 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3077/0.9432, allocations: 3.486 MB / 0.6598 GB, free: 161.2 MB / 494.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001358/0.9445, allocations: 1.397 MB / 0.6611 GB, free: 160.9 MB / 494.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001772/0.9463, allocations: 1.091 MB / 0.6622 GB, free: 160.8 MB / 494.2 MB Notification: Performance of setup shared object (initialization): time 3.536e-05/0.9463, allocations: 304.3 kB / 0.6625 GB, free: 160.5 MB / 494.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00386/0.9502, allocations: 2.583 MB / 0.665 GB, free: 159.9 MB / 494.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00519/0.9554, allocations: 4.723 MB / 0.6696 GB, free: 156.3 MB / 494.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009783/0.9652, allocations: 7.471 MB / 0.6769 GB, free: 151.3 MB / 494.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001307/0.9653, allocations: 15.81 kB / 0.6769 GB, free: 151.3 MB / 494.2 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01613/0.9814, allocations: 8.292 MB / 0.685 GB, free: 148 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.9816, allocations: 58.08 kB / 0.6851 GB, free: 148 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/0.9817, allocations: 62.22 kB / 0.6851 GB, free: 148 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00282/0.9845, allocations: 0.9999 MB / 0.6861 GB, free: 147.8 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004837/0.9893, allocations: 1.266 MB / 0.6874 GB, free: 147.6 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/1.001, allocations: 8.509 MB / 0.6957 GB, free: 142.9 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004989/1.006, allocations: 362 kB / 0.696 GB, free: 142.8 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009905/1.007, allocations: 273.2 kB / 0.6963 GB, free: 142.7 MB / 494.2 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.004895/1.012, allocations: 2.893 MB / 0.6991 GB, free: 140.5 MB / 494.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009721/1.013, allocations: 385.6 kB / 0.6995 GB, free: 140.1 MB / 494.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009915/1.023, allocations: 6.164 MB / 0.7055 GB, free: 134.9 MB / 494.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/1.023, allocations: 40 kB / 0.7055 GB, free: 134.9 MB / 494.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/1.023, allocations: 12 kB / 0.7055 GB, free: 134.9 MB / 494.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.056e-05/1.023, allocations: 26.59 kB / 0.7056 GB, free: 134.9 MB / 494.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/1.043, allocations: 12.75 MB / 0.718 GB, free: 123.4 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/1.043, allocations: 4 kB / 0.718 GB, free: 123.4 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002686/1.046, allocations: 0.6871 MB / 0.7187 GB, free: 122.7 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002416/1.048, allocations: 0.8725 MB / 0.7195 GB, free: 121.8 MB / 494.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003958/1.049, allocations: 91.97 kB / 0.7196 GB, free: 121.7 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009349/1.058, allocations: 7.469 MB / 0.7269 GB, free: 114.2 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.058, allocations: 4 kB / 0.7269 GB, free: 114.2 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/1.071, allocations: 8.807 MB / 0.7355 GB, free: 105.2 MB / 494.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002101/1.073, allocations: 0.8351 MB / 0.7363 GB, free: 104.4 MB / 494.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/1.074, allocations: 76 kB / 0.7364 GB, free: 104.3 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/1.077, allocations: 187.8 kB / 0.7366 GB, free: 104.1 MB / 494.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006526/1.077, allocations: 298.8 kB / 0.7369 GB, free: 103.8 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003065/1.078, allocations: 112 kB / 0.737 GB, free: 103.7 MB / 494.2 MB Notification: Performance of sorting global known variables: time 0.003269/1.081, allocations: 2.169 MB / 0.7391 GB, free: 101.5 MB / 494.2 MB Notification: Performance of sort global known variables: time 1.5e-07/1.081, allocations: 0 / 0.7391 GB, free: 101.5 MB / 494.2 MB Notification: Performance of remove unused functions: time 0.005087/1.086, allocations: 1.461 MB / 0.7405 GB, free: 100.1 MB / 494.2 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.00069/1.087, allocations: 251 kB / 0.7408 GB, free: 99.85 MB / 494.2 MB Notification: Performance of simCode: created initialization part: time 0.009675/1.096, allocations: 6.274 MB / 0.7469 GB, free: 93.55 MB / 494.2 MB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/1.096, allocations: 4 kB / 0.7469 GB, free: 93.54 MB / 494.2 MB Notification: Performance of simCode: created simulation system equations: time 0.004682/1.101, allocations: 2.908 MB / 0.7497 GB, free: 90.6 MB / 494.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00446/1.106, allocations: 0.7201 MB / 0.7504 GB, free: 89.9 MB / 494.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02309/1.129, allocations: 13.88 MB / 0.764 GB, free: 75.93 MB / 494.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006209/1.135, allocations: 4.526 MB / 0.7684 GB, free: 71.35 MB / 494.2 MB Notification: Performance of simCode: alias equations: time 0.004832/1.14, allocations: 1.564 MB / 0.77 GB, free: 69.78 MB / 494.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/1.141, allocations: 348.4 kB / 0.7703 GB, free: 69.44 MB / 494.2 MB Notification: Performance of SimCode: time 9.52e-07/1.141, allocations: 0 / 0.7703 GB, free: 69.44 MB / 494.2 MB Notification: Performance of Templates: time 0.0847/1.226, allocations: 53.88 MB / 0.8229 GB, free: 16.2 MB / 494.2 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.477291744202375] Failed to read output from testmodel.py, exit status != 0: 1.23374243080616 1.243443566 0.902267712 Calling exit ...