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.001142/0.001142, allocations: 102.8 kB / 16.45 MB, free: 6.438 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.001273/0.001273, allocations: 186.9 kB / 17.39 MB, free: 5.668 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.312/1.312, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04827/0.04827, allocations: 8.102 MB / 299.3 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.91 kB / 413.9 MB, free: 22.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.09029, allocations: 51.51 MB / 465.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.001997/0.09233, allocations: 0.7709 MB / 466.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.09377, allocations: 1.157 MB / 467.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.09384, allocations: 7.875 kB / 467.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.269e-05/0.09389, allocations: 0 / 467.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.09416, allocations: 23.86 kB / 467.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.09433, allocations: 23.95 kB / 467.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.09449, allocations: 99.75 kB / 467.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.402e-05/0.09459, allocations: 0 / 467.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.09471, allocations: 43.95 kB / 467.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.09486, allocations: 51.83 kB / 467.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.0949, allocations: 8 kB / 467.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.953e-05/0.09492, allocations: 8 kB / 467.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.09498, allocations: 31.89 kB / 467.7 MB, free: 492 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.09505, allocations: 39.84 kB / 467.7 MB, free: 452 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.09518, allocations: 82.59 kB / 467.8 MB, free: 372 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.09519, allocations: 0 / 467.8 MB, free: 372 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.0952, allocations: 0 / 467.8 MB, free: 372 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.09521, allocations: 4 kB / 467.8 MB, free: 368 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.0009706/0.09618, allocations: 432.2 kB / 468.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.09623, allocations: 15.89 kB / 468.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.09628, allocations: 38.75 kB / 468.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.09632, allocations: 12.84 kB / 468.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.09646, allocations: 176.2 kB / 468.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.09664, allocations: 58.23 kB / 468.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.09667, allocations: 4.375 kB / 468.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.09777, allocations: 429.1 kB / 468.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.09779, allocations: 4 kB / 468.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.09781, allocations: 0 / 468.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.09782, allocations: 0 / 468.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.09841, allocations: 167.8 kB / 469.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.09883, allocations: 377.8 kB / 469.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009143/0.09976, allocations: 323.6 kB / 469.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.1001, allocations: 158.7 kB / 470 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1002, allocations: 4 kB / 470 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.1002, allocations: 38.5 kB / 470 MB, free: 13.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.1002, allocations: 0 / 470 MB, free: 13.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001051/0.1013, allocations: 341.4 kB / 470.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.1013, allocations: 110.8 kB / 470.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.1014, allocations: 105.8 kB / 470.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1014, allocations: 29.77 kB / 470.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.1015, allocations: 84.14 kB / 470.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.1015, allocations: 15.89 kB / 470.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.1016, allocations: 25.66 kB / 470.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1017, allocations: 326.8 kB / 471 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.1017, allocations: 15.98 kB / 471 MB, free: 12.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.1018, allocations: 103.1 kB / 471.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1019, allocations: 127 kB / 471.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1019, allocations: 0 / 471.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001785/0.1021, allocations: 137.2 kB / 471.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.1022, allocations: 10.33 kB / 471.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1022, allocations: 4.406 kB / 471.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1022, allocations: 8 kB / 471.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.921e-05/0.1023, allocations: 20 kB / 471.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1023, allocations: 11.92 kB / 471.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.617e-05/0.1024, allocations: 7.938 kB / 471.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1024, allocations: 12 kB / 471.5 MB, free: 12.34 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.445e-05/0.1025, allocations: 125.7 kB / 471.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006648/0.1031, allocations: 229.5 kB / 471.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.1033, allocations: 57.83 kB / 471.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1033, allocations: 32 / 471.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1033, allocations: 15.94 kB / 471.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1033, allocations: 0 / 471.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.1035, allocations: 197.4 kB / 472.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.1035, allocations: 0 / 472.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.1038, allocations: 43.91 kB / 472.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1038, allocations: 8 kB / 472.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1038, allocations: 0 / 472.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1038, allocations: 0 / 472.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1038, allocations: 7.984 kB / 472.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007306/0.1046, allocations: 424 kB / 472.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.1046, allocations: 92.95 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.1046, allocations: 0 / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.1049, allocations: 31.97 kB / 472.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.1049, allocations: 0 / 472.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1049, allocations: 4 kB / 472.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.828e-05/0.1049, allocations: 83.27 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.105, allocations: 7.938 kB / 472.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.1053, allocations: 20 kB / 472.8 MB, free: 10.9 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.0009732/0.1062, allocations: 0.9617 MB / 473.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004202/0.1067, allocations: 156.1 kB / 473.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1067, allocations: 0 / 473.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.531e-05/0.1067, allocations: 11.94 kB / 473.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.1074, allocations: 136.4 kB / 474 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.11, allocations: 1.851 MB / 475.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1103, allocations: 0.6963 MB / 476.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.663e-05/0.1103, allocations: 12.42 kB / 476.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.1104, allocations: 19.44 kB / 476.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1104, allocations: 0 / 476.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.129, allocations: 2.205 MB / 478.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.161, allocations: 3.938 kB / 478.8 MB, free: 4.695 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)