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.001537/0.001537, allocations: 105.3 kB / 16.45 MB, free: 6.426 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.001718/0.001718, 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.303/1.303, 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.05043/0.05043, allocations: 8.098 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 71.88 kB / 413.9 MB, free: 22.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09401/0.09522, allocations: 51.52 MB / 465.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.002079/0.09734, allocations: 0.7631 MB / 466.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.09893, allocations: 1.157 MB / 467.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.09901, allocations: 4 kB / 467.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/0.09906, allocations: 0 / 467.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.09931, allocations: 23.84 kB / 467.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.09947, allocations: 27.84 kB / 467.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.09965, allocations: 99.8 kB / 467.5 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.09977, allocations: 8 kB / 467.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.09989, allocations: 35.92 kB / 467.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.1, allocations: 47.86 kB / 467.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.1001, allocations: 12 kB / 467.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.888e-05/0.1001, allocations: 8 kB / 467.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.1002, allocations: 31.91 kB / 467.7 MB, free: 484 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.1002, allocations: 31.86 kB / 467.7 MB, free: 452 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.1004, allocations: 94.58 kB / 467.8 MB, free: 360 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1004, allocations: 0 / 467.8 MB, free: 360 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1004, allocations: 0 / 467.8 MB, free: 360 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1004, allocations: 0 / 467.8 MB, free: 360 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.001065/0.1015, allocations: 432.2 kB / 468.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1015, allocations: 19.88 kB / 468.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.1016, allocations: 42.69 kB / 468.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.1016, allocations: 12.84 kB / 468.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1018, allocations: 164.3 kB / 468.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.102, allocations: 58.23 kB / 468.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.102, allocations: 8.375 kB / 468.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.1031, allocations: 424.5 kB / 468.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1032, allocations: 7.922 kB / 468.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.1032, allocations: 8 kB / 469 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1032, allocations: 4 kB / 469 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005518/0.1038, allocations: 163.9 kB / 469.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.1043, allocations: 373.8 kB / 469.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008936/0.1052, allocations: 327.6 kB / 469.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.1055, allocations: 158.7 kB / 470 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1056, allocations: 3.984 kB / 470 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1056, allocations: 42.5 kB / 470 MB, free: 13.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.1056, allocations: 0 / 470 MB, free: 13.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.00107/0.1067, allocations: 337.5 kB / 470.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/0.1068, allocations: 114.9 kB / 470.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.1069, allocations: 101.8 kB / 470.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1069, allocations: 29.7 kB / 470.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.107, allocations: 80.14 kB / 470.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.107, allocations: 11.91 kB / 470.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.107, allocations: 33.64 kB / 470.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1072, allocations: 322.8 kB / 471 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.1072, allocations: 15.98 kB / 471 MB, free: 12.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.184e-05/0.1073, allocations: 103.1 kB / 471.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.1074, allocations: 135 kB / 471.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1074, allocations: 4 kB / 471.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001979/0.1076, allocations: 133.6 kB / 471.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1077, allocations: 6.344 kB / 471.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.1077, allocations: 4 kB / 471.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.1077, allocations: 4 kB / 471.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1078, allocations: 27.92 kB / 471.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1078, allocations: 4 kB / 471.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.175e-05/0.1079, allocations: 11.94 kB / 471.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.1079, allocations: 8 kB / 471.5 MB, free: 12.33 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.0001188/0.1081, allocations: 129.8 kB / 471.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006503/0.1087, allocations: 233.5 kB / 471.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.1089, allocations: 57.61 kB / 471.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1089, allocations: 0 / 471.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.1089, allocations: 7.922 kB / 471.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1089, allocations: 4 kB / 471.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.1092, allocations: 189.5 kB / 472.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1092, allocations: 4 kB / 472.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.1094, allocations: 47.98 kB / 472.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.1094, allocations: 0 / 472.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.1095, allocations: 8 kB / 472.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1095, allocations: 3.938 kB / 472.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1095, allocations: 0 / 472.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007541/0.1102, allocations: 435.4 kB / 472.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.1103, allocations: 84.95 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1103, allocations: 8 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.1106, allocations: 19.97 kB / 472.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.1106, allocations: 4 kB / 472.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1106, allocations: 8 kB / 472.7 MB, free: 11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.311e-05/0.1107, allocations: 83.28 kB / 472.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1107, allocations: 0 / 472.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.111, allocations: 20 kB / 472.8 MB, free: 10.89 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.001014/0.112, allocations: 0.9622 MB / 473.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004248/0.1124, allocations: 155.7 kB / 473.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1124, allocations: 0 / 473.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.461e-05/0.1125, allocations: 4 kB / 473.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/0.1132, allocations: 136.8 kB / 474 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.1159, allocations: 1.851 MB / 475.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1162, allocations: 0.7041 MB / 476.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.81e-05/0.1163, allocations: 8.422 kB / 476.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.1163, allocations: 15.44 kB / 476.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1164, allocations: 3.938 kB / 476.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.1356, allocations: 2.205 MB / 478.8 MB, free: 4.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.136/7.271, allocations: 7.875 kB / 478.8 MB, free: 4.684 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)