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.003891/0.003891, allocations: 93.11 kB / 15.91 MB, free: 6.277 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.0009663/0.0009663, allocations: 199.1 kB / 16.84 MB, free: 6.191 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.245/1.245, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1346/0.1346, allocations: 8.073 MB / 298.7 MB, free: 2.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 63.84 kB / 361.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07757/0.0787, allocations: 51.52 MB / 412.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.001788/0.08053, allocations: 0.8205 MB / 413.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.08164, allocations: 1.147 MB / 414.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.08168, allocations: 3.938 kB / 414.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.08173, allocations: 4 kB / 414.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.08189, allocations: 15.91 kB / 414.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.082, allocations: 23.61 kB / 414.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.08214, allocations: 103.7 kB / 414.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.913e-05/0.08221, allocations: 4 kB / 414.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.0823, allocations: 35.98 kB / 414.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.08242, allocations: 47.86 kB / 414.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.08245, allocations: 4 kB / 414.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.955e-05/0.08247, allocations: 4 kB / 414.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.08252, allocations: 31.84 kB / 414.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.08258, allocations: 35.86 kB / 414.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.704e-05/0.08269, allocations: 83.92 kB / 415 MB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.0827, allocations: 0 / 415 MB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.0827, allocations: 0 / 415 MB, free: 7.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.08271, allocations: 4 kB / 415 MB, free: 7.695 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.0008273/0.08354, allocations: 435.3 kB / 415.4 MB, free: 7.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.08358, allocations: 8.031 kB / 415.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.08363, allocations: 46.73 kB / 415.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.08367, allocations: 8.844 kB / 415.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.08379, allocations: 176.2 kB / 415.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.08396, allocations: 62.17 kB / 415.7 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.08398, allocations: 4.375 kB / 415.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.08503, allocations: 413.4 kB / 416.2 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.08504, allocations: 0 / 416.2 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.08506, allocations: 0 / 416.2 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.08507, allocations: 4 kB / 416.2 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005509/0.08563, allocations: 163.8 kB / 416.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.08599, allocations: 377.8 kB / 416.7 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008794/0.08688, allocations: 327.5 kB / 417 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.08724, allocations: 154.5 kB / 417.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.08727, allocations: 8 kB / 417.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.0873, allocations: 34.55 kB / 417.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.08731, allocations: 0 / 417.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001005/0.08832, allocations: 341.5 kB / 417.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.08839, allocations: 114.8 kB / 417.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.052e-05/0.08846, allocations: 101.8 kB / 417.7 MB, free: 4.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.08848, allocations: 29.98 kB / 417.8 MB, free: 4.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.08853, allocations: 92.12 kB / 417.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.08855, allocations: 11.84 kB / 417.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.08859, allocations: 33.7 kB / 417.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.08869, allocations: 318.8 kB / 418.2 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.242e-05/0.08872, allocations: 19.98 kB / 418.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.301e-05/0.0888, allocations: 99.14 kB / 418.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.08893, allocations: 134.9 kB / 418.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.08893, allocations: 0 / 418.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001652/0.0891, allocations: 137.2 kB / 418.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.08912, allocations: 8.406 kB / 418.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.08913, allocations: 0 / 418.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.08915, allocations: 8 kB / 418.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/0.08925, allocations: 27.98 kB / 418.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.08927, allocations: 7.938 kB / 418.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.08932, allocations: 7.938 kB / 418.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.08934, allocations: 12 kB / 418.7 MB, free: 3.672 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 7.67e-05/0.08942, allocations: 125.8 kB / 418.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006371/0.09006, allocations: 229.8 kB / 419 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.131e-05/0.09016, allocations: 53.66 kB / 419.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.09018, allocations: 11.97 kB / 419.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.09019, allocations: 0 / 419.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.0902, allocations: 3.984 kB / 419.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.09042, allocations: 197.5 kB / 419.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.09043, allocations: 0 / 419.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.09066, allocations: 51.89 kB / 419.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.09067, allocations: 4 kB / 419.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.09069, allocations: 4 kB / 419.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.0907, allocations: 4 kB / 419.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.0907, allocations: 0 / 419.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006759/0.09138, allocations: 423.4 kB / 419.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.09143, allocations: 89.05 kB / 419.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.09145, allocations: 3.938 kB / 419.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.09167, allocations: 31.97 kB / 419.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.016e-05/0.09168, allocations: 0 / 419.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.0917, allocations: 4 kB / 419.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.859e-05/0.09174, allocations: 79.28 kB / 420 MB, free: 2.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09175, allocations: 4 kB / 420 MB, free: 2.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.09203, allocations: 20 kB / 420 MB, free: 2.25 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.0008733/0.09291, allocations: 0.9603 MB / 420.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003725/0.0933, allocations: 151.9 kB / 421.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.09331, allocations: 0 / 421.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.09333, allocations: 11.98 kB / 421.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.09393, allocations: 136.6 kB / 421.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.09623, allocations: 1.863 MB / 423.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.09644, allocations: 0.7005 MB / 423.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.048e-05/0.09648, allocations: 8.422 kB / 423.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.09653, allocations: 19.44 kB / 423.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09654, allocations: 0 / 423.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0914/0.1879, allocations: 1.967 MB / 425.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.1881, allocations: 170.8 kB / 426 MB, free: 12.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/1.724, allocations: 4.062 kB / 426 MB, free: 12.03 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)