Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.QfURegulation.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.001557/0.001557, allocations: 82.64 kB / 21.48 MB, free: 3.02 MB / 18.57 MB " [Timeout remaining time 180] 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.00188/0.00188, allocations: 170 kB / 24.88 MB, free: 9.285 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 1.004/1.004, allocations: 177.2 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.0293/0.0293, allocations: 4.489 MB / 266.4 MB, free: 8.398 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 337.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.425e-05, allocations: 2.312 kB / 337.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.005482/0.005506, allocations: 1.971 MB / 339.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.007295, allocations: 1.664 MB / 341.3 MB, free: 9.359 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.007422, allocations: 4 kB / 341.4 MB, free: 9.355 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003369/0.01079, allocations: 139 kB / 341.5 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005401/0.01133, allocations: 230.6 kB / 341.7 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.01264, allocations: 1.124 MB / 342.8 MB, free: 7.863 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.01304, allocations: 378.4 kB / 343.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.01318, allocations: 68.28 kB / 343.3 MB, free: 7.422 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.01347, allocations: 235.5 kB / 343.5 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.0137, allocations: 159.5 kB / 343.7 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003067/0.01677, allocations: 32 kB / 343.7 MB, free: 7.004 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005055/0.01727, allocations: 279.6 kB / 344 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-05/0.01735, allocations: 91.66 kB / 344.1 MB, free: 6.641 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.749e-05/0.01745, allocations: 119.7 kB / 344.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006048/0.01805, allocations: 0.5334 MB / 344.7 MB, free: 5.988 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.01805, allocations: 0 / 344.7 MB, free: 5.988 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01805, allocations: 0 / 344.7 MB, free: 5.988 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.01806, allocations: 0 / 344.7 MB, free: 5.988 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.006736/0.0248, allocations: 1.133 MB / 345.8 MB, free: 4.812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.02484, allocations: 8.031 kB / 345.8 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.02495, allocations: 64.7 kB / 345.9 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.02521, allocations: 244.8 kB / 346.1 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.02534, allocations: 225.1 kB / 346.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/0.02539, allocations: 36.38 kB / 346.4 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/0.02598, allocations: 0.5134 MB / 346.9 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.02599, allocations: 192 / 346.9 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.02603, allocations: 16.36 kB / 346.9 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.02604, allocations: 16.12 kB / 346.9 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.02627, allocations: 131.3 kB / 347.1 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004235/0.03051, allocations: 1 MB / 348.1 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.03098, allocations: 325.2 kB / 348.4 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.03113, allocations: 119.5 kB / 348.5 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-05/0.03121, allocations: 15.98 kB / 348.5 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.03145, allocations: 298.9 kB / 348.8 MB, free: 1.559 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.713e-06/0.03145, allocations: 0 / 348.8 MB, free: 1.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.003672/0.03512, allocations: 0.6263 MB / 349.4 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.03517, allocations: 136.5 kB / 349.6 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.03532, allocations: 277.6 kB / 349.8 MB, free: 480 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.03536, allocations: 33.7 kB / 349.9 MB, free: 440 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.03543, allocations: 203.7 kB / 350.1 MB, free: 232 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.03549, allocations: 115 kB / 350.2 MB, free: 116 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.03561, allocations: 87.81 kB / 350.3 MB, free: 20 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.0358, allocations: 0.5117 MB / 350.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.03593, allocations: 80.94 kB / 350.9 MB, free: 15.42 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.03614, allocations: 193.1 kB / 351.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.03646, allocations: 253.6 kB / 351.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.03647, allocations: 0 / 351.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008741/0.03734, allocations: 477 kB / 351.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.03736, allocations: 8 kB / 351.8 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.03737, allocations: 0 / 351.8 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.03849, allocations: 391.2 kB / 352.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.03865, allocations: 63.91 kB / 352.2 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000818/0.03947, allocations: 0.999 MB / 353.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.03964, allocations: 35.7 kB / 353.3 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.03966, allocations: 12 kB / 353.3 MB, free: 12.91 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.03979, allocations: 180.5 kB / 353.4 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.03994, allocations: 121.4 kB / 353.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.04044, allocations: 349 kB / 353.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.04044, allocations: 8 kB / 353.9 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.04045, allocations: 4 kB / 353.9 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.04046, allocations: 3.984 kB / 353.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.04153, allocations: 0.8335 MB / 354.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.04154, allocations: 0 / 354.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.04172, allocations: 75.89 kB / 354.8 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.04272, allocations: 391.8 kB / 355.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.04275, allocations: 15.92 kB / 355.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007733/0.04353, allocations: 0.999 MB / 356.2 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.04353, allocations: 4 kB / 356.2 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009459/0.04447, allocations: 0.6398 MB / 356.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.04452, allocations: 35.69 kB / 356.9 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.04456, allocations: 12 kB / 356.9 MB, free: 9.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.04472, allocations: 31.95 kB / 356.9 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.04478, allocations: 27.95 kB / 357 MB, free: 9.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.0448, allocations: 8 kB / 357 MB, free: 9.062 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.061e-05/0.04489, allocations: 187.2 kB / 357.2 MB, free: 8.879 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04489, allocations: 0 / 357.2 MB, free: 8.879 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003363/0.04522, allocations: 103.9 kB / 357.3 MB, free: 8.777 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002316/0.04546, allocations: 135.1 kB / 357.4 MB, free: 8.637 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008117/0.04627, allocations: 398.8 kB / 357.8 MB, free: 8.246 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.04627, allocations: 0 / 357.8 MB, free: 8.246 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004997/0.04677, allocations: 239.8 kB / 358 MB, free: 8.008 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.04712, allocations: 88.7 kB / 358.1 MB, free: 7.922 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.04846, allocations: 0.6753 MB / 358.8 MB, free: 7.207 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.543e-05/0.04852, allocations: 106.2 kB / 358.9 MB, free: 7.082 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.404e-05/0.04862, allocations: 38.94 kB / 358.9 MB, free: 7.047 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.04876, allocations: 130.2 kB / 359.1 MB, free: 6.918 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.04876, allocations: 0 / 359.1 MB, free: 6.918 MB / 282.7 MB Notification: Performance of Templates: time 0.008696/0.05746, allocations: 6.323 MB / 365.4 MB, free: 0.6445 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Examples.QfURegulation -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0175309842452407]