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.0007252/0.0007252, allocations: 97.72 kB / 16.06 MB, free: 40 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.0007507/0.0007507, allocations: 181.1 kB / 16.96 MB, free: 6.895 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.253/1.253, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1602/0.1602, allocations: 8.082 MB / 300.2 MB, free: 2.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 8 kB / 363.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.091/0.09132, allocations: 52.51 MB / 416.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.0008544/0.09221, allocations: 497.1 kB / 416.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.09344, allocations: 1.139 MB / 417.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.09349, allocations: 0 / 417.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.09353, allocations: 7.875 kB / 417.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.09371, allocations: 15.92 kB / 417.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.09385, allocations: 35.89 kB / 417.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.094, allocations: 87.88 kB / 417.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.34e-05/0.09409, allocations: 4 kB / 417.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.241e-05/0.09419, allocations: 43.83 kB / 417.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.09431, allocations: 35.95 kB / 418 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.09435, allocations: 4 kB / 418 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.09437, allocations: 7.938 kB / 418 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.371e-05/0.09442, allocations: 23.97 kB / 418 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.017e-05/0.09451, allocations: 69.55 kB / 418.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.09462, allocations: 79.97 kB / 418.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.09463, allocations: 0 / 418.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09464, allocations: 0 / 418.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.09464, allocations: 0 / 418.1 MB, free: 6.246 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.0009272/0.09557, allocations: 451.2 kB / 418.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.09562, allocations: 8.031 kB / 418.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.341e-05/0.09568, allocations: 38.75 kB / 418.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.09572, allocations: 8.844 kB / 418.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.09587, allocations: 172.3 kB / 418.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.09607, allocations: 62.25 kB / 418.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.0961, allocations: 12.36 kB / 418.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.09728, allocations: 443.9 kB / 419.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.0973, allocations: 0 / 419.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.09732, allocations: 8 kB / 419.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.09733, allocations: 7.938 kB / 419.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005839/0.09792, allocations: 175.9 kB / 419.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.09831, allocations: 381.7 kB / 419.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.09932, allocations: 343.6 kB / 420.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.09971, allocations: 162.6 kB / 420.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.09974, allocations: 0 / 420.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.09977, allocations: 42.66 kB / 420.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.62e-07/0.09978, allocations: 4 kB / 420.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001083/0.1009, allocations: 357.7 kB / 420.8 MB, free: 3.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.1009, allocations: 110.8 kB / 420.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.101, allocations: 109.9 kB / 421 MB, free: 3.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.1011, allocations: 29.7 kB / 421 MB, free: 3.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.1011, allocations: 84.12 kB / 421.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.1011, allocations: 15.89 kB / 421.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.1012, allocations: 17.72 kB / 421.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.1013, allocations: 322.7 kB / 421.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.949e-05/0.1013, allocations: 20 kB / 421.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.541e-05/0.1014, allocations: 103.1 kB / 421.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1015, allocations: 127 kB / 421.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1015, allocations: 4 kB / 421.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001724/0.1017, allocations: 129.3 kB / 421.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.1017, allocations: 8.406 kB / 421.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1018, allocations: 8 kB / 421.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1018, allocations: 4 kB / 421.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.1019, allocations: 27.92 kB / 421.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.1019, allocations: 7.984 kB / 421.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.1019, allocations: 8 kB / 421.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.102, allocations: 7.984 kB / 421.9 MB, free: 2.133 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.299e-05/0.102, allocations: 133.7 kB / 422 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006916/0.1027, allocations: 249.4 kB / 422.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.1029, allocations: 57.59 kB / 422.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1029, allocations: 0 / 422.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1029, allocations: 7.938 kB / 422.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1029, allocations: 0 / 422.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.1031, allocations: 189.4 kB / 422.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1031, allocations: 4 kB / 422.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.1034, allocations: 51.98 kB / 422.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1034, allocations: 0 / 422.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1034, allocations: 12 kB / 422.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.1034, allocations: 3.938 kB / 422.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1034, allocations: 0 / 422.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007431/0.1042, allocations: 443.5 kB / 423 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.1042, allocations: 88.95 kB / 423.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.1042, allocations: 0 / 423.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.1045, allocations: 35.97 kB / 423.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.1045, allocations: 0 / 423.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1045, allocations: 4 kB / 423.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.884e-05/0.1046, allocations: 91.44 kB / 423.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1046, allocations: 4 kB / 423.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.1049, allocations: 20 kB / 423.2 MB, free: 0.6562 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 (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.0009771/0.1059, allocations: 0.9622 MB / 424.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004139/0.1063, allocations: 171.6 kB / 424.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1063, allocations: 0.8125 kB / 424.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.1063, allocations: 4 kB / 424.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006605/0.107, allocations: 140 kB / 424.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.1096, allocations: 1.869 MB / 426.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1099, allocations: 0.7043 MB / 427.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.16e-05/0.1099, allocations: 8.438 kB / 427.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.11, allocations: 23.42 kB / 427.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of SimCode: time 1.463e-06/0.11, allocations: 0 / 427.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01164/0.1216, allocations: 1.891 MB / 429 MB, free: 10.75 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/0.1219, allocations: 177.6 kB / 429.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.741, allocations: 64 / 429.2 MB, free: 10.5 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/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)