Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.PowerSystemSimple.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.0008728/0.0008728, allocations: 77.86 kB / 20.66 MB, free: 3.836 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.911/0.911, allocations: 177.2 MB / 201.1 MB, free: 5.691 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.001651/0.001651, allocations: 164.3 kB / 257.7 MB, free: 12.96 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2668/0.2668, allocations: 80.25 MB / 394.5 MB, free: 1.98 MB / 314.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.01978/0.01978, allocations: 4.807 MB / 482.6 MB, free: 3.969 MB / 394.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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(OpenHPL.Examples.PowerSystemSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.PowerSystemSimple") translateModel(OpenHPL.Examples.PowerSystemSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.PowerSystemSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.5686 GB, free: 132 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.946e-05, allocations: 2.312 kB / 0.5686 GB, free: 128 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.PowerSystemSimple): time 0.004598/0.004618, allocations: 4.381 MB / 0.5729 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.006303, allocations: 1.635 MB / 0.5745 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.006541, allocations: 27.81 kB / 0.5746 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005167/0.007058, allocations: 238.1 kB / 0.5748 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.007269, allocations: 198.3 kB / 0.575 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.007655, allocations: 371.3 kB / 0.5753 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005066/0.008162, allocations: 0.8577 MB / 0.5762 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.008417, allocations: 196.7 kB / 0.5763 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004022/0.008819, allocations: 466.9 kB / 0.5768 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.00905, allocations: 227.2 kB / 0.577 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.009109, allocations: 68 kB / 0.5771 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.589e-05/0.009165, allocations: 72 kB / 0.5771 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.206e-05/0.009247, allocations: 159.4 kB / 0.5773 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.009383, allocations: 227.4 kB / 0.5775 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.009764, allocations: 0.4942 MB / 0.578 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.009767, allocations: 8 kB / 0.578 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.52e-07/0.009767, allocations: 4 kB / 0.578 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.009773, allocations: 0 / 0.578 GB, free: 6.484 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001168/0.01094, allocations: 0.9898 MB / 0.579 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.01097, allocations: 8.031 kB / 0.579 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.01108, allocations: 116.4 kB / 0.5791 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.01146, allocations: 457.5 kB / 0.5795 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.01149, allocations: 41.38 kB / 0.5796 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.424e-05/0.01154, allocations: 56.33 kB / 0.5796 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.01196, allocations: 0.4975 MB / 0.5801 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.01197, allocations: 4.125 kB / 0.5801 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.012, allocations: 20.38 kB / 0.5801 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.01201, allocations: 15.94 kB / 0.5801 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.01218, allocations: 142.8 kB / 0.5803 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.01349, allocations: 1.588 MB / 0.5818 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.01374, allocations: 187.4 kB / 0.582 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.027e-05/0.0138, allocations: 63.88 kB / 0.5821 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.01382, allocations: 4 kB / 0.5821 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.01384, allocations: 41.39 kB / 0.5821 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=29): time 1.303e-06/0.01384, allocations: 0 / 0.5821 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.0009682/0.01481, allocations: 0.7999 MB / 0.5829 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.01485, allocations: 162.2 kB / 0.583 GB, free: 1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.01513, allocations: 482.4 kB / 0.5835 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.01515, allocations: 33.7 kB / 0.5835 GB, free: 484 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.01531, allocations: 406.6 kB / 0.5839 GB, free: 68 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-05/0.01538, allocations: 126.9 kB / 0.5841 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.043e-05/0.01546, allocations: 95.77 kB / 0.5841 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.01559, allocations: 0.539 MB / 0.5847 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.01565, allocations: 53.64 kB / 0.5847 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.01608, allocations: 384.2 kB / 0.5851 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.01636, allocations: 375.4 kB / 0.5854 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01636, allocations: 4 kB / 0.5854 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003571/0.01672, allocations: 372.6 kB / 0.5858 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.01673, allocations: 11.94 kB / 0.5858 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.01674, allocations: 4 kB / 0.5858 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.0169, allocations: 63.95 kB / 0.5859 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.01708, allocations: 99.89 kB / 0.586 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008806/0.01796, allocations: 1.87 MB / 0.5878 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.01812, allocations: 39.97 kB / 0.5878 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.01814, allocations: 16 kB / 0.5879 GB, free: 11.69 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: simpleGen.speedSensor.flange.phi:VARIABLE(flow=false unit = \"rad\" fixed = true ) \"Absolute rotation angle of flange\" type: Real simpleGen.inertia.w:VARIABLE(start = simpleGen.f_0 * 2.0 * 3.141592653589793 * simpleGen.f_nom unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001703/0.01831, allocations: 184.3 kB / 0.588 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001679/0.01848, allocations: 376 kB / 0.5884 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002331/0.01871, allocations: 366.1 kB / 0.5887 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.01871, allocations: 7.922 kB / 0.5887 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0003145/0.01903, allocations: 368.7 kB / 0.5891 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-06/0.01904, allocations: 4 kB / 0.5891 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.01904, allocations: 4.188 kB / 0.5891 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.01918, allocations: 75.7 kB / 0.5892 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.01932, allocations: 87.84 kB / 0.5893 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007838/0.0201, allocations: 1.866 MB / 0.5911 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.02025, allocations: 27.98 kB / 0.5911 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.02026, allocations: 19.98 kB / 0.5911 GB, free: 7.988 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: simpleGen.speedSensor.flange.phi:VARIABLE(flow=false unit = \"rad\" fixed = true ) \"Absolute rotation angle of flange\" type: Real simpleGen.inertia.w:VARIABLE(start = simpleGen.f_0 * 2.0 * 3.141592653589793 * simpleGen.f_nom unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.02039, allocations: 314.6 kB / 0.5914 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.02045, allocations: 67.62 kB / 0.5915 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.0205, allocations: 56.92 kB / 0.5915 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.0205, allocations: 0 / 0.5915 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.02051, allocations: 0 / 0.5915 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.02055, allocations: 51.66 kB / 0.5916 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.02058, allocations: 12 kB / 0.5916 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.0207, allocations: 23.98 kB / 0.5916 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.02074, allocations: 31.88 kB / 0.5917 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003573/0.0211, allocations: 356.2 kB / 0.592 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003392/0.02144, allocations: 0.5534 MB / 0.5925 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.033e-05/0.02151, allocations: 67.62 kB / 0.5926 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001498/0.02166, allocations: 298.7 kB / 0.5929 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of Backend: time 1.3e-07/0.02166, allocations: 0 / 0.5929 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007113/0.02237, allocations: 0.7803 MB / 0.5937 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of SimCode: time 0.001694/0.02406, allocations: 1.91 MB / 0.5955 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of Templates: time 0.1668/0.1909, allocations: 9.05 MB / 0.6044 GB, free: 163.9 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.PowerSystemSimple.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.PowerSystemSimple.pipe ; mkfifo OpenHPL_OpenHPL.Examples.PowerSystemSimple.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.PowerSystemSimple.pipe >> ../files/OpenHPL_OpenHPL.Examples.PowerSystemSimple.sim & ./OpenHPL_OpenHPL.Examples.PowerSystemSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.PowerSystemSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5561407548375428]