Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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.0007299/0.0007299, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.001784, 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.9696/0.9696, allocations: 177.2 MB / 188.4 MB, free: 4.391 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2087/1.178, allocations: 53.65 MB / 242 MB, free: 2.594 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.001268/0.001268, allocations: 152.1 kB / 242.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001548/0.002816, allocations: 479.5 kB / 243.4 MB, free: 1.266 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.02604/0.02604, allocations: 6.659 MB / 250.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004891/0.03094, allocations: 2.664 MB / 253.5 MB, free: 7.387 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_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 254.8 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.634e-05, allocations: 2.312 kB / 254.8 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.02453/0.02455, allocations: 24.23 MB / 279 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01878/0.04333, allocations: 8.334 MB / 287.3 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006622/0.04995, allocations: 203 kB / 287.5 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01253/0.06248, allocations: 8.105 MB / 295.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01112/0.0736, allocations: 3.161 MB / 298.8 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005935/0.07953, allocations: 2.045 MB / 300.9 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01636/0.09589, allocations: 9.738 MB / 310.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02021/0.1161, allocations: 11.26 MB / 321.9 MB, free: 2.578 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2147/0.3308, allocations: 7.555 MB / 329.4 MB, free: 16.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0131/0.3439, allocations: 5.118 MB / 334.5 MB, free: 16.35 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006406/0.3503, allocations: 1.349 MB / 335.9 MB, free: 16.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009461/0.3598, allocations: 1.75 MB / 337.6 MB, free: 16.35 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006135/0.3659, allocations: 2.219 MB / 339.8 MB, free: 16.35 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01484/0.3807, allocations: 2.883 MB / 342.7 MB, free: 16.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02104/0.4018, allocations: 8.105 MB / 350.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.588e-05/0.4018, allocations: 4.031 kB / 350.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.4018, allocations: 0 / 350.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0007094/0.4025, allocations: 0 / 350.8 MB, free: 15.78 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.02807/0.4306, allocations: 11.85 MB / 362.7 MB, free: 7.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.4306, allocations: 9.219 kB / 362.7 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02178/0.4524, allocations: 5.8 MB / 368.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009712/0.4621, allocations: 3.133 MB / 371.6 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004585/0.4626, allocations: 0.5817 MB / 372.2 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004064/0.4667, allocations: 0.7673 MB / 373 MB, free: 132 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0238/0.4905, allocations: 6.446 MB / 379.4 MB, free: 9.953 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003182/0.4908, allocations: 14.98 kB / 379.4 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00239/0.4932, allocations: 323.6 kB / 379.8 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004311/0.4936, allocations: 484.2 kB / 380.2 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.5046, allocations: 3.327 MB / 383.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04975/0.5543, allocations: 25.76 MB / 409.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007007/0.5613, allocations: 5.316 MB / 414.6 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001853/0.5632, allocations: 0.9963 MB / 415.6 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/0.5635, allocations: 135 kB / 415.8 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001619/0.5651, allocations: 1.508 MB / 417.3 MB, free: 5.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=391): time 7.664e-06/0.5651, allocations: 4 kB / 417.3 MB, free: 5.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=397): time 0.02021/0.5853, allocations: 8.481 MB / 425.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/0.5854, allocations: 171.6 kB / 425.9 MB, free: 12.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/0.588, allocations: 2.246 MB / 428.2 MB, free: 10.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002785/0.5883, allocations: 89.7 kB / 428.2 MB, free: 10.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002039/0.5904, allocations: 3.186 MB / 431.4 MB, free: 7.434 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009359/0.5913, allocations: 1.411 MB / 432.8 MB, free: 6.105 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.5923, allocations: 1.007 MB / 433.9 MB, free: 5.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.5924, allocations: 309.1 kB / 434.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.5935, allocations: 0.735 MB / 434.9 MB, free: 4.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.5957, allocations: 2.714 MB / 437.6 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003902/0.5996, allocations: 4.01 MB / 441.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.073e-05/0.5997, allocations: 20 kB / 441.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.006173/0.6058, allocations: 3.674 MB / 445.3 MB, free: 8.863 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.918e-05/0.6059, allocations: 57.64 kB / 445.4 MB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.647e-05/0.606, allocations: 64 kB / 445.4 MB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/0.6079, allocations: 0.862 MB / 446.3 MB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/0.6109, allocations: 1.328 MB / 447.6 MB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005449/0.6163, allocations: 4.272 MB / 451.9 MB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00314/0.6194, allocations: 231.7 kB / 452.1 MB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006953/0.6201, allocations: 212 kB / 452.3 MB, free: 1.969 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.002225/0.6224, allocations: 0.5007 MB / 452.8 MB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008203/0.6232, allocations: 346.9 kB / 453.2 MB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/0.6272, allocations: 2.779 MB / 455.9 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.6273, allocations: 43.94 kB / 456 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/0.6273, allocations: 11.98 kB / 456 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/0.6273, allocations: 23.92 kB / 456 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.6399, allocations: 7.552 MB / 463.6 MB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.6399, allocations: 8 kB / 463.6 MB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.6416, allocations: 0.708 MB / 464.3 MB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/0.6431, allocations: 485.1 kB / 464.8 MB, free: 6.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/0.6447, allocations: 0.7491 MB / 465.5 MB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/0.6448, allocations: 83.97 kB / 465.6 MB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004647/0.6495, allocations: 3.853 MB / 469.4 MB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.6495, allocations: 11.84 kB / 469.5 MB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004612/0.6541, allocations: 3.262 MB / 472.7 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007574/0.6548, allocations: 72 kB / 472.8 MB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.656, allocations: 108 kB / 472.9 MB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004473/0.6564, allocations: 282.6 kB / 473.2 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.6566, allocations: 87.95 kB / 473.3 MB, free: 14.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001581/0.6582, allocations: 1.04 MB / 474.3 MB, free: 13.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6582, allocations: 0 / 474.3 MB, free: 13.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005284/0.6635, allocations: 1.449 MB / 475.7 MB, free: 11.64 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.0006067/0.6641, allocations: 249 kB / 476 MB, free: 11.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005479/0.6696, allocations: 3.161 MB / 479.1 MB, free: 8.539 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002527/0.6698, allocations: 87.81 kB / 479.2 MB, free: 8.445 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005015/0.6748, allocations: 2.609 MB / 481.8 MB, free: 5.922 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1721/0.8469, allocations: 5.813 MB / 487.7 MB, free: 119.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05675/0.9037, allocations: 11.26 MB / 498.9 MB, free: 114.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002712/0.9064, allocations: 1.526 MB / 0.4887 GB, free: 114.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002486/0.9089, allocations: 0.6453 MB / 0.4893 GB, free: 114.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/0.9104, allocations: 0.8204 MB / 0.4901 GB, free: 114.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.434e-06/0.9104, allocations: 0 / 0.4901 GB, free: 114.4 MB / 426.7 MB Notification: Performance of Templates: time 0.08912/0.9995, allocations: 62.83 MB / 0.5515 GB, free: 72.33 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5761710768565536]