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.001754/0.001754, allocations: 108.7 kB / 16.45 MB, free: 6.445 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.001945/0.001945, allocations: 186.4 kB / 17.39 MB, free: 5.688 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.471/1.471, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0512/0.0512, allocations: 8.098 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 63.91 kB / 414 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0868/0.08867, allocations: 51.51 MB / 465.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.001851/0.09056, allocations: 0.767 MB / 466.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.09211, allocations: 1.165 MB / 467.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.09217, allocations: 0 / 467.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.09222, allocations: 3.938 kB / 467.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.0924, allocations: 15.91 kB / 467.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.09254, allocations: 27.91 kB / 467.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.09274, allocations: 99.73 kB / 467.5 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.09283, allocations: 8 kB / 467.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.862e-05/0.09294, allocations: 39.98 kB / 467.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.0931, allocations: 47.86 kB / 467.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.09313, allocations: 8 kB / 467.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.305e-05/0.09316, allocations: 8 kB / 467.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.09323, allocations: 31.91 kB / 467.7 MB, free: 484 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.09329, allocations: 39.8 kB / 467.7 MB, free: 444 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.09343, allocations: 83.98 kB / 467.8 MB, free: 360 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.09344, allocations: 0 / 467.8 MB, free: 360 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09345, allocations: 0 / 467.8 MB, free: 360 kB / 334.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.09346, allocations: 4 kB / 467.8 MB, free: 356 kB / 334.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.001025/0.09449, allocations: 443.1 kB / 468.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.09454, allocations: 11.89 kB / 468.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.867e-05/0.09459, allocations: 42.73 kB / 468.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.09464, allocations: 12.89 kB / 468.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.0948, allocations: 168.3 kB / 468.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.09502, allocations: 66.17 kB / 468.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.09505, allocations: 8.375 kB / 468.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.09627, allocations: 417.2 kB / 468.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.0963, allocations: 3.938 kB / 469 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.09632, allocations: 4 kB / 469 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.09633, allocations: 4 kB / 469 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006254/0.09696, allocations: 163.8 kB / 469.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.09745, allocations: 377.8 kB / 469.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.09854, allocations: 323.6 kB / 469.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004142/0.09896, allocations: 158.7 kB / 470 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.099, allocations: 8 kB / 470 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.09905, allocations: 38.55 kB / 470 MB, free: 13.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.09906, allocations: 0 / 470 MB, free: 13.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001174/0.1002, allocations: 341.5 kB / 470.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.1003, allocations: 114.8 kB / 470.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/0.1004, allocations: 93.86 kB / 470.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1005, allocations: 33.7 kB / 470.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/0.1006, allocations: 88.19 kB / 470.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.1006, allocations: 11.95 kB / 470.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.1006, allocations: 33.64 kB / 470.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1008, allocations: 318.8 kB / 471 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.532e-05/0.1008, allocations: 19.98 kB / 471 MB, free: 12.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1009, allocations: 99.14 kB / 471.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.1011, allocations: 131 kB / 471.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1011, allocations: 0 / 471.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001965/0.1013, allocations: 133.3 kB / 471.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1013, allocations: 8 kB / 471.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1014, allocations: 4.406 kB / 471.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1014, allocations: 8 kB / 471.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.733e-05/0.1015, allocations: 23.98 kB / 471.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.1015, allocations: 7.938 kB / 471.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.1016, allocations: 8 kB / 471.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1016, allocations: 4 kB / 471.5 MB, free: 12.32 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 0.0001186/0.1017, allocations: 133.7 kB / 471.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007469/0.1025, allocations: 229.5 kB / 471.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.1026, allocations: 57.59 kB / 471.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.1026, allocations: 4 kB / 471.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1026, allocations: 7.969 kB / 471.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1026, allocations: 4.172 kB / 471.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.1029, allocations: 189.7 kB / 472.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1029, allocations: 0 / 472.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.1032, allocations: 55.88 kB / 472.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1032, allocations: 4 kB / 472.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1032, allocations: 4 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1032, allocations: 4 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1032, allocations: 4 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008349/0.1041, allocations: 431.1 kB / 472.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.1041, allocations: 89 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.1042, allocations: 7.938 kB / 472.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.1044, allocations: 27.97 kB / 472.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.1044, allocations: 0 / 472.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.1044, allocations: 4 kB / 472.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.653e-05/0.1045, allocations: 83.28 kB / 472.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1045, allocations: 0 / 472.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003048/0.1048, allocations: 24 kB / 472.8 MB, free: 10.88 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.001154/0.106, allocations: 0.9584 MB / 473.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004593/0.1065, allocations: 152.2 kB / 473.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1065, allocations: 0 / 473.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.1065, allocations: 11.98 kB / 473.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006943/0.1072, allocations: 133 kB / 474 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.1102, allocations: 1.854 MB / 475.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.1106, allocations: 0.7002 MB / 476.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.974e-05/0.1106, allocations: 8.438 kB / 476.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.1107, allocations: 19.42 kB / 476.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1107, allocations: 0 / 476.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.1329, allocations: 2.161 MB / 478.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.044, allocations: 8 kB / 478.8 MB, free: 4.719 MB / 350.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)