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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.0009561/0.0009561, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 176.3 kB / 16.63 MB, free: 6.887 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.23/1.23, allocations: 223.3 MB / 240.7 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1512/0.1512, allocations: 8.089 MB / 299.8 MB, free: 2.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002902, allocations: 11.98 kB / 363 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09296/0.09326, allocations: 52.5 MB / 415.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.0008724/0.09417, allocations: 493.2 kB / 415.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.09538, allocations: 1.128 MB / 417.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.09542, allocations: 0 / 417.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.09546, allocations: 0 / 417.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.09563, allocations: 15.92 kB / 417.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.09575, allocations: 31.91 kB / 417.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.09588, allocations: 75.86 kB / 417.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.317e-05/0.09595, allocations: 4 kB / 417.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/0.09604, allocations: 47.89 kB / 417.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.09616, allocations: 43.83 kB / 417.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.09619, allocations: 4 kB / 417.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/0.09621, allocations: 4 kB / 417.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.09626, allocations: 27.91 kB / 417.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.09631, allocations: 41.7 kB / 417.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.66e-05/0.09639, allocations: 56.11 kB / 417.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.0964, allocations: 4 kB / 417.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.09641, allocations: 0 / 417.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.09642, allocations: 3.938 kB / 417.4 MB, free: 6.645 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008033/0.09722, allocations: 443.1 kB / 417.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.09727, allocations: 15.97 kB / 417.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.122e-05/0.09731, allocations: 34.56 kB / 417.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.09735, allocations: 23.84 kB / 417.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.09748, allocations: 167 kB / 418.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.09765, allocations: 61.67 kB / 418.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.09768, allocations: 8 kB / 418.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.0987, allocations: 433.4 kB / 418.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.09872, allocations: 0 / 418.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.09874, allocations: 7.938 kB / 418.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.09875, allocations: 8 kB / 418.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.09928, allocations: 175.9 kB / 418.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.09968, allocations: 377.7 kB / 419.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008168/0.1005, allocations: 343.6 kB / 419.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.1008, allocations: 158.6 kB / 419.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1009, allocations: 0 / 419.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.1009, allocations: 46.45 kB / 419.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.1009, allocations: 0 / 419.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000929/0.1018, allocations: 369.9 kB / 420 MB, free: 3.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.1019, allocations: 110.8 kB / 420.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.485e-05/0.102, allocations: 105.8 kB / 420.2 MB, free: 3.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.102, allocations: 25.77 kB / 420.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.1021, allocations: 84.14 kB / 420.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.1021, allocations: 23.77 kB / 420.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.1021, allocations: 4 kB / 420.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1022, allocations: 318.8 kB / 420.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.871e-05/0.1023, allocations: 15.98 kB / 420.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.082e-05/0.1023, allocations: 103.1 kB / 420.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.589e-05/0.1024, allocations: 43.92 kB / 420.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1024, allocations: 0 / 420.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001749/0.1026, allocations: 133.7 kB / 421 MB, free: 2.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1026, allocations: 7.953 kB / 421 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1026, allocations: 4 kB / 421 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1026, allocations: 7.938 kB / 421 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.1027, allocations: 31.92 kB / 421 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1028, allocations: 4 kB / 421 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.1028, allocations: 4 kB / 421 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1028, allocations: 8 kB / 421 MB, free: 2.684 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.31e-05/0.1029, allocations: 133.7 kB / 421.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006024/0.1035, allocations: 241.5 kB / 421.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.1037, allocations: 61.55 kB / 421.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1037, allocations: 4 kB / 421.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1037, allocations: 0 / 421.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1037, allocations: 0 / 421.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.1039, allocations: 189.5 kB / 421.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1039, allocations: 0 / 421.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.1041, allocations: 52 kB / 421.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1042, allocations: 7.984 kB / 421.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1042, allocations: 0 / 421.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1042, allocations: 3.953 kB / 421.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.1042, allocations: 8 kB / 421.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006589/0.1049, allocations: 438.7 kB / 422.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.1049, allocations: 88.95 kB / 422.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.1049, allocations: 11.98 kB / 422.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.1051, allocations: 23.98 kB / 422.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.1052, allocations: 7.938 kB / 422.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1052, allocations: 12 kB / 422.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.338e-05/0.1052, allocations: 83.28 kB / 422.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1052, allocations: 0 / 422.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.1055, allocations: 20 kB / 422.4 MB, free: 1.219 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009097/0.1064, allocations: 0.967 MB / 423.4 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003599/0.1068, allocations: 152.5 kB / 423.5 MB, free: 76 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1068, allocations: 4.062 kB / 423.5 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.29e-05/0.1068, allocations: 11.94 kB / 423.5 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.1075, allocations: 148 kB / 423.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.1093, allocations: 0.7917 MB / 424.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.1096, allocations: 0.7006 MB / 425.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.359e-05/0.1096, allocations: 16.47 kB / 425.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.1097, allocations: 15.44 kB / 425.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1097, allocations: 0 / 425.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0118/0.1215, allocations: 1.869 MB / 427.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.1217, allocations: 163.9 kB / 427.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/1.651, allocations: 0 / 427.2 MB, free: 12.25 MB / 366.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_QfURegulation_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_QfURegulation.fmu > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1) Environment - environmentSimulation: