Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.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: "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 101.4 kB / 16.31 MB, free: 6.391 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.001085/0.001085, allocations: 188.5 kB / 17.24 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0543/0.0543, allocations: 8.09 MB / 299.2 MB, free: 6.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 361.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2178, allocations: 51.51 MB / 413.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.002238/0.2201, allocations: 0.7603 MB / 414.1 MB, free: 24.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2213, allocations: 1.149 MB / 415.3 MB, free: 23.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.2214, allocations: 0 / 415.3 MB, free: 23.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.2214, allocations: 0 / 415.3 MB, free: 23.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.2216, allocations: 23.84 kB / 415.3 MB, free: 23.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.2218, allocations: 27.91 kB / 415.3 MB, free: 23.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.2219, allocations: 103.8 kB / 415.4 MB, free: 23.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.751e-05/0.222, allocations: 8 kB / 415.4 MB, free: 23.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.2221, allocations: 39.84 kB / 415.4 MB, free: 23.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.2222, allocations: 43.94 kB / 415.5 MB, free: 23.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.2222, allocations: 8 kB / 415.5 MB, free: 23.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.189e-05/0.2223, allocations: 8 kB / 415.5 MB, free: 23.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.2223, allocations: 31.91 kB / 415.5 MB, free: 23.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.2224, allocations: 39.84 kB / 415.6 MB, free: 23.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.318e-05/0.2225, allocations: 82.03 kB / 415.7 MB, free: 23.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2225, allocations: 0 / 415.7 MB, free: 23.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2225, allocations: 0 / 415.7 MB, free: 23.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.2225, allocations: 0 / 415.7 MB, free: 23.26 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008503/0.2233, allocations: 455 kB / 416.1 MB, free: 22.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2234, allocations: 15.89 kB / 416.1 MB, free: 22.75 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.2234, allocations: 34.75 kB / 416.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.2235, allocations: 8.938 kB / 416.2 MB, free: 22.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.2236, allocations: 168.2 kB / 416.3 MB, free: 22.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.2238, allocations: 62.23 kB / 416.4 MB, free: 22.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.2238, allocations: 12.36 kB / 416.4 MB, free: 22.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.2248, allocations: 416.4 kB / 416.8 MB, free: 22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2248, allocations: 7.938 kB / 416.8 MB, free: 21.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2249, allocations: 8 kB / 416.8 MB, free: 21.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2249, allocations: 0 / 416.8 MB, free: 21.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/0.2254, allocations: 167.8 kB / 417 MB, free: 21.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.2258, allocations: 369.8 kB / 417.3 MB, free: 21.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008934/0.2267, allocations: 331.5 kB / 417.7 MB, free: 21.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/0.227, allocations: 150.5 kB / 417.8 MB, free: 20.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.2271, allocations: 3.984 kB / 417.8 MB, free: 20.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.2271, allocations: 38.56 kB / 417.9 MB, free: 20.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.2271, allocations: 0 / 417.9 MB, free: 20.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.00104/0.2281, allocations: 337.5 kB / 418.2 MB, free: 20.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2282, allocations: 115 kB / 418.3 MB, free: 20.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.943e-05/0.2282, allocations: 105.8 kB / 418.4 MB, free: 20.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.2283, allocations: 29.7 kB / 418.4 MB, free: 20.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.191e-05/0.2283, allocations: 80.14 kB / 418.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.2283, allocations: 19.98 kB / 418.5 MB, free: 20.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.2283, allocations: 29.7 kB / 418.6 MB, free: 20.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.868e-05/0.2284, allocations: 318.8 kB / 418.9 MB, free: 19.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.2284, allocations: 23.98 kB / 418.9 MB, free: 19.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.732e-05/0.2285, allocations: 107.1 kB / 419 MB, free: 19.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.148e-05/0.2286, allocations: 127 kB / 419.1 MB, free: 19.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2286, allocations: 0 / 419.1 MB, free: 19.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001427/0.2287, allocations: 137.4 kB / 419.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2287, allocations: 4 kB / 419.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2287, allocations: 4 kB / 419.3 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2288, allocations: 4 kB / 419.3 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.2289, allocations: 27.92 kB / 419.3 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2289, allocations: 4 kB / 419.3 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.2289, allocations: 11.91 kB / 419.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.2289, allocations: 8 kB / 419.3 MB, free: 19.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.001e-05/0.229, allocations: 141.9 kB / 419.5 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006224/0.2296, allocations: 225.5 kB / 419.7 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.1e-05/0.2297, allocations: 57.55 kB / 419.7 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2297, allocations: 3.984 kB / 419.7 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2298, allocations: 8 kB / 419.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2298, allocations: 0 / 419.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.23, allocations: 189.5 kB / 419.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.23, allocations: 0 / 419.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.2302, allocations: 47.98 kB / 420 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2302, allocations: 4 kB / 420 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.2302, allocations: 4 kB / 420 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2302, allocations: 0 / 420 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2302, allocations: 4 kB / 420 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/0.2309, allocations: 439.8 kB / 420.4 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.2309, allocations: 81.11 kB / 420.5 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.231, allocations: 0 / 420.5 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.2312, allocations: 27.97 kB / 420.5 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.2312, allocations: 4 kB / 420.5 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.2312, allocations: 4.188 kB / 420.5 MB, free: 17.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.329e-05/0.2312, allocations: 87.27 kB / 420.6 MB, free: 17.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2313, allocations: 0 / 420.6 MB, free: 17.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.2316, allocations: 20 kB / 420.6 MB, free: 17.79 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008146/0.2324, allocations: 0.9583 MB / 421.6 MB, free: 16.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004121/0.2328, allocations: 167.7 kB / 421.8 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2328, allocations: 3.938 kB / 421.8 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.231e-05/0.2328, allocations: 8.875 kB / 421.8 MB, free: 16.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/0.2335, allocations: 135.9 kB / 421.9 MB, free: 16.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.2358, allocations: 1.844 MB / 423.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.236, allocations: 0.7041 MB / 424.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.029e-05/0.236, allocations: 4.438 kB / 424.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.2361, allocations: 27.42 kB / 424.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2361, allocations: 0 / 424.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.2526, allocations: 2.103 MB / 426.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.273/7.525, allocations: 12 kB / 426.6 MB, free: 11.65 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.QfURegulation.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.QfURegulation_res.csv --start-time 0 --stop-time 150 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.06 PowerSysPro_PowerSysPro_Tests_QfURegulation.fmu > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1)