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.0009895/0.0009895, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002377, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.995/0.995, allocations: 177.2 MB / 188.4 MB, free: 4.418 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2009/1.196, allocations: 53.66 MB / 242 MB, free: 2.625 MB / 234.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.0008106/0.0008106, allocations: 156 kB / 242.9 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001115/0.001926, allocations: 483.5 kB / 243.4 MB, free: 1.289 MB / 234.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.02381/0.02381, allocations: 6.646 MB / 250.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004477/0.02829, allocations: 2.664 MB / 253.5 MB, free: 7.422 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_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.643e-06/1.643e-06, allocations: 0 / 254.8 MB, free: 6.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.496e-05, allocations: 2.312 kB / 254.8 MB, free: 6.074 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.0184/0.01841, allocations: 24.26 MB / 279.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01825/0.03666, allocations: 8.323 MB / 287.4 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005706/0.04237, allocations: 203 kB / 287.6 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.05352, allocations: 8.109 MB / 295.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.06399, allocations: 3.165 MB / 298.9 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004839/0.06883, allocations: 2.047 MB / 300.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01187/0.0807, allocations: 9.74 MB / 310.6 MB, free: 14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01482/0.09552, allocations: 11.26 MB / 321.9 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1965/0.2921, allocations: 7.553 MB / 329.5 MB, free: 16.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007974/0.3, allocations: 5.121 MB / 334.6 MB, free: 16.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002678/0.3027, allocations: 1.348 MB / 335.9 MB, free: 16.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.3055, allocations: 1.744 MB / 337.7 MB, free: 16.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.3069, allocations: 2.215 MB / 339.9 MB, free: 16.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.3093, allocations: 2.888 MB / 342.8 MB, free: 16.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006394/0.3157, allocations: 8.101 MB / 350.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.173e-05/0.3157, allocations: 0 / 350.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3157, allocations: 3.156 kB / 350.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001056/0.3158, allocations: 0 / 350.9 MB, free: 15.73 MB / 314.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.01216/0.328, allocations: 11.85 MB / 362.7 MB, free: 7.906 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.328, allocations: 12.03 kB / 362.7 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/0.3424, allocations: 5.798 MB / 368.5 MB, free: 4.129 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004229/0.3467, allocations: 3.134 MB / 371.7 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.3469, allocations: 0.5871 MB / 372.3 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000743/0.3476, allocations: 0.7668 MB / 373 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007844/0.3554, allocations: 6.444 MB / 379.5 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/0.3556, allocations: 18.59 kB / 379.5 MB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005782/0.3562, allocations: 324.7 kB / 379.8 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003553/0.3565, allocations: 484.6 kB / 380.3 MB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005404/0.3619, allocations: 3.32 MB / 383.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02869/0.3906, allocations: 25.76 MB / 409.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006761/0.3974, allocations: 5.323 MB / 414.7 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.3985, allocations: 0.9982 MB / 415.7 MB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002252/0.3987, allocations: 127 kB / 415.8 MB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.4002, allocations: 1.515 MB / 417.3 MB, free: 5.035 MB / 362.7 MB Notification: Performance of pre-optimization done (n=391): time 5.451e-06/0.4002, allocations: 0 / 417.3 MB, free: 5.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=397): time 0.0165/0.4167, allocations: 8.477 MB / 425.8 MB, free: 12.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.4168, allocations: 175.3 kB / 426 MB, free: 12.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.4188, allocations: 2.252 MB / 428.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.4189, allocations: 93.7 kB / 428.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001619/0.4205, allocations: 3.189 MB / 431.5 MB, free: 7.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007372/0.4213, allocations: 1.406 MB / 432.9 MB, free: 6.121 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009915/0.4223, allocations: 1.007 MB / 433.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.4223, allocations: 301.1 kB / 434.2 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009593/0.4233, allocations: 0.735 MB / 434.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/0.4253, allocations: 2.711 MB / 437.6 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003512/0.4288, allocations: 4.025 MB / 441.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.951e-05/0.4289, allocations: 16 kB / 441.7 MB, free: 12.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.005073/0.4339, allocations: 3.659 MB / 445.3 MB, free: 8.887 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.015e-05/0.434, allocations: 69.62 kB / 445.4 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.346e-05/0.4341, allocations: 60 kB / 445.5 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/0.4358, allocations: 0.8595 MB / 446.3 MB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/0.4383, allocations: 1.34 MB / 447.7 MB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004962/0.4433, allocations: 4.264 MB / 451.9 MB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.4453, allocations: 239.7 kB / 452.2 MB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.4456, allocations: 208 kB / 452.4 MB, free: 1.988 MB / 394.7 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.001725/0.4473, allocations: 0.4917 MB / 452.9 MB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005043/0.4478, allocations: 351.7 kB / 453.2 MB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003529/0.4513, allocations: 2.779 MB / 456 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.4513, allocations: 43.94 kB / 456 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/0.4514, allocations: 12 kB / 456 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/0.4514, allocations: 19.92 kB / 456.1 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.4621, allocations: 7.555 MB / 463.6 MB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.4621, allocations: 4 kB / 463.6 MB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.4637, allocations: 0.7088 MB / 464.3 MB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009612/0.4646, allocations: 481.9 kB / 464.8 MB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001524/0.4661, allocations: 0.7518 MB / 465.6 MB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/0.4663, allocations: 82.81 kB / 465.6 MB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/0.4708, allocations: 3.858 MB / 469.5 MB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.4708, allocations: 7.469 kB / 469.5 MB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004274/0.4751, allocations: 3.267 MB / 472.8 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004552/0.4756, allocations: 80.03 kB / 472.8 MB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009346/0.4765, allocations: 104 kB / 472.9 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004082/0.4769, allocations: 282.5 kB / 473.2 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/0.4771, allocations: 83.95 kB / 473.3 MB, free: 14.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001631/0.4787, allocations: 1.037 MB / 474.3 MB, free: 13.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4787, allocations: 0 / 474.3 MB, free: 13.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004416/0.4831, allocations: 1.449 MB / 475.8 MB, free: 11.67 MB / 426.7 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.0004892/0.4836, allocations: 248 kB / 476 MB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003878/0.4875, allocations: 3.158 MB / 479.2 MB, free: 8.562 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001473/0.4876, allocations: 91.8 kB / 479.3 MB, free: 8.465 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004043/0.4917, allocations: 2.613 MB / 481.9 MB, free: 5.938 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1719/0.6636, allocations: 5.807 MB / 487.7 MB, free: 119.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06096/0.7245, allocations: 11.25 MB / 499 MB, free: 114.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003941/0.7285, allocations: 1.523 MB / 0.4887 GB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002814/0.7313, allocations: 0.6482 MB / 0.4894 GB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001686/0.733, allocations: 0.8206 MB / 0.4902 GB, free: 114.5 MB / 426.7 MB Notification: Performance of SimCode: time 4.438e-06/0.733, allocations: 0 / 0.4902 GB, free: 114.5 MB / 426.7 MB Notification: Performance of Templates: time 0.08961/0.8226, allocations: 62.84 MB / 0.5515 GB, free: 72.37 MB / 426.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.586752579547465]