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.001352/0.001352, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.39/1.39, allocations: 177.1 MB / 199.4 MB, free: 8.449 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.001579/0.001579, allocations: 167.5 kB / 256 MB, free: 4.316 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.0407/0.0407, allocations: 6.658 MB / 319 MB, free: 5.391 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: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 445.9 MB, free: 25.15 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.111e-05, allocations: 6.219 kB / 446 MB, free: 25.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.01739/0.01741, allocations: 22.02 MB / 468 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01565/0.03306, allocations: 7.722 MB / 475.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004937/0.038, allocations: 203 kB / 475.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02007/0.05807, allocations: 7.542 MB / 483.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.06861, allocations: 3.165 MB / 486.6 MB, free: 340 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1804/0.249, allocations: 2.011 MB / 488.6 MB, free: 17.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01215/0.2612, allocations: 9.708 MB / 498.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01683/0.278, allocations: 11.22 MB / 0.4976 GB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009895/0.2879, allocations: 7.139 MB / 0.5046 GB, free: 7.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006974/0.2949, allocations: 4.516 MB / 0.509 GB, free: 5.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002531/0.2974, allocations: 1.355 MB / 0.5103 GB, free: 5.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004177/0.3016, allocations: 1.742 MB / 0.512 GB, free: 3.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001937/0.3035, allocations: 2.732 MB / 0.5147 GB, free: 1.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007694/0.3112, allocations: 3.579 MB / 0.5182 GB, free: 15.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02226/0.3335, allocations: 18.48 MB / 0.5362 GB, free: 13.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3335, allocations: 0.7812 kB / 0.5362 GB, free: 13.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3335, allocations: 0 / 0.5362 GB, free: 13.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00035/0.3338, allocations: 4 kB / 0.5362 GB, free: 13.18 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.03321/0.3671, allocations: 10.81 MB / 0.5468 GB, free: 2.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3671, allocations: 11.98 kB / 0.5468 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03514/0.4022, allocations: 5.674 MB / 0.5523 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01283/0.4151, allocations: 5.838 MB / 0.558 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005658/0.4156, allocations: 0.5827 MB / 0.5586 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002511/0.4181, allocations: 0.7594 MB / 0.5593 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03196/0.4501, allocations: 12.97 MB / 0.572 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004882/0.4506, allocations: 11.95 kB / 0.572 GB, free: 8.727 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003116/0.4537, allocations: 327.8 kB / 0.5723 GB, free: 8.422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006287/0.4543, allocations: 0.4967 MB / 0.5728 GB, free: 7.922 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02756/0.4819, allocations: 12.23 MB / 0.5848 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07557/0.5575, allocations: 36.7 MB / 0.6206 GB, free: 6.801 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02049/0.578, allocations: 8.904 MB / 0.6293 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005918/0.5839, allocations: 2.721 MB / 0.6319 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005325/0.5844, allocations: 107 kB / 0.632 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005481/0.5899, allocations: 2.787 MB / 0.6348 GB, free: 9.168 MB / 478.1 MB Notification: Performance of pre-optimization done (n=391): time 1.101e-05/0.5899, allocations: 0 / 0.6348 GB, free: 9.168 MB / 478.1 MB Notification: Performance of matching and sorting (n=397): time 0.04505/0.635, allocations: 18.31 MB / 0.6527 GB, free: 6.812 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002453/0.6352, allocations: 358.8 kB / 0.653 GB, free: 6.391 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005848/0.6411, allocations: 3.369 MB / 0.6563 GB, free: 3.008 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007745/0.6418, allocations: 89.7 kB / 0.6564 GB, free: 2.914 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3044/0.9462, allocations: 3.489 MB / 0.6598 GB, free: 161.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001653/0.9479, allocations: 1.394 MB / 0.6611 GB, free: 160.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001993/0.9499, allocations: 1.094 MB / 0.6622 GB, free: 160.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.081e-05/0.9499, allocations: 301.9 kB / 0.6625 GB, free: 160.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004162/0.9541, allocations: 2.583 MB / 0.665 GB, free: 159.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005375/0.9595, allocations: 4.718 MB / 0.6696 GB, free: 156.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009817/0.9693, allocations: 7.467 MB / 0.6769 GB, free: 151.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001617/0.9694, allocations: 16.81 kB / 0.6769 GB, free: 151.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01605/0.9855, allocations: 8.296 MB / 0.685 GB, free: 148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.944e-05/0.9856, allocations: 59.17 kB / 0.6851 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/0.9857, allocations: 65.5 kB / 0.6852 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002501/0.9882, allocations: 0.9938 MB / 0.6861 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004424/0.9926, allocations: 1.272 MB / 0.6874 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/1.003, allocations: 8.514 MB / 0.6957 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00424/1.008, allocations: 357 kB / 0.696 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006047/1.008, allocations: 270.8 kB / 0.6963 GB, free: 142.7 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.003826/1.012, allocations: 2.894 MB / 0.6991 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006861/1.013, allocations: 381.6 kB / 0.6995 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008969/1.022, allocations: 6.163 MB / 0.7055 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/1.022, allocations: 44 kB / 0.7055 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/1.022, allocations: 12 kB / 0.7055 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.461e-05/1.022, allocations: 27.28 kB / 0.7056 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/1.04, allocations: 12.75 MB / 0.718 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/1.04, allocations: 4 kB / 0.718 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002589/1.042, allocations: 0.6981 MB / 0.7187 GB, free: 122.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002344/1.045, allocations: 0.8677 MB / 0.7196 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000317/1.045, allocations: 91.97 kB / 0.7196 GB, free: 121.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009153/1.054, allocations: 7.459 MB / 0.7269 GB, free: 114.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.054, allocations: 12.03 kB / 0.7269 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/1.066, allocations: 8.807 MB / 0.7355 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00247/1.068, allocations: 0.8322 MB / 0.7364 GB, free: 104.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008692/1.069, allocations: 72 kB / 0.7364 GB, free: 104.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/1.072, allocations: 195.8 kB / 0.7366 GB, free: 104.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005854/1.072, allocations: 287 kB / 0.7369 GB, free: 103.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002186/1.072, allocations: 124 kB / 0.737 GB, free: 103.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002798/1.075, allocations: 2.165 MB / 0.7391 GB, free: 101.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.075, allocations: 0 / 0.7391 GB, free: 101.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004803/1.08, allocations: 1.449 MB / 0.7405 GB, free: 100.1 MB / 494.1 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.0005445/1.081, allocations: 264.5 kB / 0.7408 GB, free: 99.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009191/1.09, allocations: 6.269 MB / 0.7469 GB, free: 93.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.09, allocations: 4.188 kB / 0.7469 GB, free: 93.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004256/1.094, allocations: 2.908 MB / 0.7497 GB, free: 90.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00351/1.098, allocations: 0.7263 MB / 0.7505 GB, free: 89.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/1.117, allocations: 13.89 MB / 0.764 GB, free: 75.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003696/1.121, allocations: 4.535 MB / 0.7684 GB, free: 71.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003563/1.124, allocations: 1.557 MB / 0.77 GB, free: 69.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000997/1.125, allocations: 340.4 kB / 0.7703 GB, free: 69.45 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/1.125, allocations: 0 / 0.7703 GB, free: 69.45 MB / 494.1 MB Notification: Performance of Templates: time 0.08469/1.21, allocations: 53.87 MB / 0.8229 GB, free: 16.2 MB / 494.1 MB " [Timeout remaining time 659] 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: 7.471925958991051] Failed to read output from testmodel.py, exit status != 0: 1.217976126819849 1.228489638 0.892565905 Calling exit ...