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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 113.9 kB / 17.13 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00249/0.00249, allocations: 199 kB / 18.06 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.7/2.7, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1172/0.1172, allocations: 8.092 MB / 300 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.89 kB / 415.2 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.176, allocations: 51.52 MB / 466.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.006103/0.1822, allocations: 2.051 MB / 468.7 MB, free: 116 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004059/0.1863, allocations: 1.641 MB / 470.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.1865, allocations: 4 kB / 470.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006333/0.1872, allocations: 135.2 kB / 470.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009161/0.1882, allocations: 230.7 kB / 470.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.1912, allocations: 1.221 MB / 471.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007961/0.192, allocations: 374.5 kB / 472.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.1924, allocations: 123.6 kB / 472.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003722/0.1928, allocations: 167.5 kB / 472.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/0.1932, allocations: 199.2 kB / 472.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.723e-05/0.1933, allocations: 32 kB / 472.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009301/0.1942, allocations: 279.8 kB / 473.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.1944, allocations: 95.66 kB / 473.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.1947, allocations: 179.1 kB / 473.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.1959, allocations: 0.5493 MB / 473.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1959, allocations: 0 / 473.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.1959, allocations: 0 / 473.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1959, allocations: 0 / 473.9 MB, free: 10.89 MB / 350.1 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.006558/0.2025, allocations: 1.108 MB / 475 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.393e-05/0.2026, allocations: 19.83 kB / 475 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.2028, allocations: 36.56 kB / 475.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006905/0.2035, allocations: 292.2 kB / 475.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003626/0.2039, allocations: 108.5 kB / 475.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.204, allocations: 24.38 kB / 475.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/0.2068, allocations: 0.7213 MB / 476.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.2068, allocations: 3.938 kB / 476.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/0.2069, allocations: 12 kB / 476.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.2069, allocations: 4 kB / 476.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.2087, allocations: 457.4 kB / 476.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003555/0.2123, allocations: 1.522 MB / 478.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.2149, allocations: 0.7083 MB / 478.9 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.216, allocations: 326.5 kB / 479.2 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002224/0.2162, allocations: 93.25 kB / 479.3 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006982/0.2169, allocations: 273 kB / 479.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.956e-06/0.217, allocations: 0 / 479.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.005881/0.2229, allocations: 1.222 MB / 480.8 MB, free: 3.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.223, allocations: 144.5 kB / 480.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.2235, allocations: 231.9 kB / 481.2 MB, free: 3.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.885e-05/0.2236, allocations: 33.7 kB / 481.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.2238, allocations: 152.8 kB / 481.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.224, allocations: 114.5 kB / 481.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.2243, allocations: 98.14 kB / 481.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.2246, allocations: 334.8 kB / 481.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/0.2252, allocations: 209 kB / 482.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008097/0.226, allocations: 332.5 kB / 482.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.2275, allocations: 0.5413 MB / 483 MB, free: 1.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.2275, allocations: 4 kB / 483 MB, free: 1.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.003258/0.2308, allocations: 0.7864 MB / 483.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.2309, allocations: 8 kB / 483.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.2309, allocations: 4 kB / 483.8 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004296/0.2352, allocations: 460.4 kB / 484.2 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.2359, allocations: 91.83 kB / 484.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.2389, allocations: 0.9075 MB / 485.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007284/0.2396, allocations: 51.52 kB / 485.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/0.2397, allocations: 16 kB / 485.3 MB, free: 14.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (52): * Single equations (assignments): 51 * 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.0004649/0.2402, allocations: 173.6 kB / 485.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/0.2416, allocations: 257.1 kB / 485.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.2438, allocations: 0.571 MB / 486.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.2439, allocations: 8 kB / 486.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.2439, allocations: 0 / 486.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.2439, allocations: 3.984 kB / 486.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005008/0.2489, allocations: 1.382 MB / 487.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.249, allocations: 4 kB / 487.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007368/0.2497, allocations: 87.88 kB / 487.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004042/0.2538, allocations: 456.3 kB / 488.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.2539, allocations: 12 kB / 488.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/0.2568, allocations: 0.9075 MB / 489.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2568, allocations: 4 kB / 489.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005129/0.262, allocations: 0.9937 MB / 490.1 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.2623, allocations: 120.6 kB / 490.2 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.2624, allocations: 4 kB / 490.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008848/0.2633, allocations: 47.91 kB / 490.3 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.2635, allocations: 31.95 kB / 490.3 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-05/0.2636, allocations: 16 kB / 490.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000349/0.264, allocations: 167.1 kB / 490.5 MB, free: 9.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.264, allocations: 0 / 490.5 MB, free: 9.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001014/0.265, allocations: 107.9 kB / 490.6 MB, free: 9.465 MB / 366.1 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.0004245/0.2655, allocations: 131.2 kB / 490.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003931/0.2694, allocations: 0.7056 MB / 491.4 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.2694, allocations: 0 / 491.4 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.2715, allocations: 336.3 kB / 491.8 MB, free: 8.289 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.2731, allocations: 163.9 kB / 491.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004911/0.278, allocations: 0.8699 MB / 492.8 MB, free: 7.227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006597/0.2787, allocations: 0.7732 MB / 493.6 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.279, allocations: 35.42 kB / 493.6 MB, free: 6.391 MB / 366.1 MB Notification: Performance of SimCode: time 4.939e-06/0.279, allocations: 4 kB / 493.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of Templates: time 0.0189/0.298, allocations: 5.9 MB / 499.5 MB, free: 484 kB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile (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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1)