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.0008421/0.0008421, allocations: 80.94 kB / 19.94 MB, free: 4.543 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 0.9346/0.9346, allocations: 177.2 MB / 200.3 MB, free: 5.371 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.001738/0.001738, allocations: 168.6 kB / 257 MB, free: 12.82 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.0373/0.0373, allocations: 6.659 MB / 266.9 MB, free: 3.074 MB / 250.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 1.412e-06/1.412e-06, allocations: 0 / 285.7 MB, free: 308 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.365e-05, allocations: 2.312 kB / 285.7 MB, free: 304 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.1203/0.1203, allocations: 24.02 MB / 309.7 MB, free: 6.418 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.1334, allocations: 8.276 MB / 318 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004384/0.1378, allocations: 203 kB / 318.2 MB, free: 14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009859/0.1476, allocations: 8.139 MB / 326.3 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008261/0.1559, allocations: 3.207 MB / 329.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003925/0.1598, allocations: 2.047 MB / 331.6 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01032/0.1702, allocations: 9.723 MB / 341.3 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01467/0.1848, allocations: 11.58 MB / 352.9 MB, free: 11.06 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01019/0.195, allocations: 7.262 MB / 360.1 MB, free: 3.789 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006722/0.2017, allocations: 5.126 MB / 365.3 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003061/0.2048, allocations: 1.348 MB / 366.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003691/0.2085, allocations: 1.73 MB / 368.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002464/0.2109, allocations: 2.762 MB / 371.1 MB, free: 8.805 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006188/0.2171, allocations: 3.443 MB / 374.6 MB, free: 5.355 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.2286, allocations: 8.605 MB / 383.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2286, allocations: 0 / 383.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2286, allocations: 0 / 383.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003003/0.2289, allocations: 4 kB / 383.2 MB, free: 12.72 MB / 346.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.01516/0.2441, allocations: 10.16 MB / 393.3 MB, free: 2.484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2441, allocations: 12.03 kB / 393.3 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/0.26, allocations: 5.807 MB / 399.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006484/0.2665, allocations: 3.136 MB / 402.3 MB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000336/0.2668, allocations: 0.5858 MB / 402.9 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001607/0.2684, allocations: 0.7694 MB / 403.6 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.2798, allocations: 6.447 MB / 410.1 MB, free: 1.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002172/0.28, allocations: 11.89 kB / 410.1 MB, free: 1.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001304/0.2813, allocations: 320 kB / 410.4 MB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003666/0.2817, allocations: 0.4967 MB / 410.9 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008866/0.2906, allocations: 3.319 MB / 414.2 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2529/0.5435, allocations: 25.64 MB / 439.9 MB, free: 63.02 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005985/0.5495, allocations: 5.318 MB / 445.2 MB, free: 62.63 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.5505, allocations: 1.001 MB / 446.2 MB, free: 62.59 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.5507, allocations: 125.7 kB / 446.3 MB, free: 62.59 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.5518, allocations: 1.509 MB / 447.8 MB, free: 62.1 MB / 378.8 MB Notification: Performance of pre-optimization done (n=391): time 6.061e-06/0.5518, allocations: 0 / 447.8 MB, free: 62.1 MB / 378.8 MB Notification: Performance of matching and sorting (n=397): time 0.01147/0.5633, allocations: 7.198 MB / 455 MB, free: 61.11 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.5634, allocations: 350.7 kB / 455.4 MB, free: 60.73 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.5649, allocations: 2.249 MB / 457.6 MB, free: 60.4 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001657/0.5651, allocations: 86.92 kB / 457.7 MB, free: 60.37 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008281/0.5659, allocations: 3.195 MB / 460.9 MB, free: 58.91 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000533/0.5664, allocations: 1.399 MB / 462.3 MB, free: 58.1 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008843/0.5673, allocations: 1.018 MB / 463.3 MB, free: 58.01 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.421e-05/0.5673, allocations: 301.1 kB / 463.6 MB, free: 57.71 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007913/0.5681, allocations: 0.7373 MB / 464.3 MB, free: 57.66 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.5693, allocations: 2.711 MB / 467 MB, free: 55.12 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/0.5716, allocations: 3.767 MB / 470.8 MB, free: 52.58 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.349e-05/0.5716, allocations: 16 kB / 470.8 MB, free: 52.57 MB / 378.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.003867/0.5755, allocations: 3.675 MB / 474.5 MB, free: 50.15 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/0.5755, allocations: 61.17 kB / 474.6 MB, free: 50.09 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.345e-05/0.5756, allocations: 60 kB / 474.6 MB, free: 50.03 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/0.5771, allocations: 0.8595 MB / 475.5 MB, free: 49.43 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/0.579, allocations: 1.147 MB / 476.6 MB, free: 48.54 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003835/0.5829, allocations: 4.266 MB / 480.9 MB, free: 45.17 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.5848, allocations: 237.7 kB / 481.1 MB, free: 45.03 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/0.585, allocations: 213.3 kB / 481.3 MB, free: 44.86 MB / 378.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.001357/0.5864, allocations: 497.9 kB / 481.8 MB, free: 44.6 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004916/0.5869, allocations: 347.4 kB / 482.2 MB, free: 44.3 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/0.5897, allocations: 2.79 MB / 484.9 MB, free: 41.98 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.5897, allocations: 40 kB / 485 MB, free: 41.94 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.5897, allocations: 14.41 kB / 485 MB, free: 41.93 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/0.5898, allocations: 23.92 kB / 485 MB, free: 41.9 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008056/0.5978, allocations: 7.539 MB / 492.6 MB, free: 36.18 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.5978, allocations: 4 kB / 492.6 MB, free: 36.17 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.599, allocations: 0.5955 MB / 493.2 MB, free: 35.63 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.6003, allocations: 0.7489 MB / 493.9 MB, free: 34.91 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/0.6004, allocations: 88.34 kB / 494 MB, free: 34.88 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003227/0.6036, allocations: 3.842 MB / 497.8 MB, free: 31.86 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6036, allocations: 7.656 kB / 497.8 MB, free: 31.86 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/0.607, allocations: 3.251 MB / 0.4894 GB, free: 28.75 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008956/0.6079, allocations: 492.9 kB / 0.4898 GB, free: 28.33 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/0.6082, allocations: 74.38 kB / 0.4899 GB, free: 28.31 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007691/0.609, allocations: 104.7 kB / 0.49 GB, free: 28.26 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/0.6093, allocations: 280.7 kB / 0.4903 GB, free: 28.02 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.6094, allocations: 82.84 kB / 0.4903 GB, free: 27.96 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0008509/0.6102, allocations: 1.045 MB / 0.4914 GB, free: 27.09 MB / 378.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6102, allocations: 3.469 kB / 0.4914 GB, free: 27.09 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003164/0.6134, allocations: 1.446 MB / 0.4928 GB, free: 25.8 MB / 378.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.0003539/0.6138, allocations: 238.1 kB / 0.493 GB, free: 25.66 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003095/0.6168, allocations: 3.074 MB / 0.496 GB, free: 23.03 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.803e-05/0.6169, allocations: 60.38 kB / 0.4961 GB, free: 22.96 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.6184, allocations: 1.645 MB / 0.4977 GB, free: 21.57 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.6201, allocations: 0.7439 MB / 0.4984 GB, free: 21.09 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.6319, allocations: 11.35 MB / 0.5095 GB, free: 10.57 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.6332, allocations: 1.508 MB / 0.5109 GB, free: 9.027 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001783/0.635, allocations: 0.6478 MB / 0.5116 GB, free: 8.375 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/0.6363, allocations: 0.8193 MB / 0.5124 GB, free: 7.551 MB / 378.8 MB Notification: Performance of SimCode: time 1.713e-06/0.6363, allocations: 0 / 0.5124 GB, free: 7.551 MB / 378.8 MB Notification: Performance of Templates: time 0.07796/0.7142, allocations: 59.18 MB / 0.5702 GB, free: 13.24 MB / 442.8 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.46736369933933]