Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",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.001258/0.001262, allocations: 109.7 kB / 16.63 MB, free: 6.816 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.001336/0.001336, allocations: 189.9 kB / 17.55 MB, free: 5.949 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 / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1665/0.1665, allocations: 38.02 MB / 329.4 MB, free: 9.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 66.28 kB / 398.4 MB, free: 34.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08719/0.08858, allocations: 58.06 MB / 456.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004575/0.0932, allocations: 3.688 MB / 460.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.09514, allocations: 1.566 MB / 461.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.09534, allocations: 11.94 kB / 461.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006949/0.09605, allocations: 231.2 kB / 461.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005659/0.09663, allocations: 271.1 kB / 462.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.09693, allocations: 119.7 kB / 462.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003695/0.09731, allocations: 339 kB / 462.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.0976, allocations: 141.9 kB / 462.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.09784, allocations: 155.4 kB / 462.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.09806, allocations: 159.4 kB / 463.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.0981, allocations: 16 kB / 463.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.09856, allocations: 335.2 kB / 463.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.09867, allocations: 107.7 kB / 463.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.733e-05/0.09877, allocations: 103.5 kB / 463.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000452/0.09923, allocations: 382.8 kB / 464 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.09925, allocations: 0 / 464 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.09925, allocations: 4 kB / 464 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.09927, allocations: 0 / 464 MB, free: 0.7305 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005558/0.09983, allocations: 0.5026 MB / 464.5 MB, free: 184 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.09987, allocations: 15.89 kB / 464.5 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.061e-05/0.09993, allocations: 54.73 kB / 464.6 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008458/0.1008, allocations: 100.5 kB / 464.7 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.1011, allocations: 266.7 kB / 464.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1011, allocations: 16.33 kB / 465 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.1011, allocations: 23.94 kB / 465 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.1016, allocations: 322.3 kB / 465.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1016, allocations: 0 / 465.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.1016, allocations: 8 kB / 465.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.1016, allocations: 19.98 kB / 465.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.102, allocations: 295.8 kB / 465.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.1035, allocations: 1.308 MB / 466.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.1038, allocations: 194.3 kB / 467.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.35e-05/0.1038, allocations: 49.89 kB / 467.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.1038, allocations: 0 / 467.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.1039, allocations: 30.56 kB / 467.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.1039, allocations: 4 kB / 467.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002519/0.1041, allocations: 137.4 kB / 467.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.1042, allocations: 85.05 kB / 467.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1044, allocations: 211.8 kB / 467.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1044, allocations: 25.7 kB / 467.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.1045, allocations: 171.9 kB / 467.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.1045, allocations: 35.55 kB / 467.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.1046, allocations: 41.7 kB / 467.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.1046, allocations: 331 kB / 468.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-05/0.1047, allocations: 43.91 kB / 468.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1048, allocations: 135.6 kB / 468.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.105, allocations: 200.5 kB / 468.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.105, allocations: 0 / 468.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002616/0.1053, allocations: 205.2 kB / 468.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1053, allocations: 6.344 kB / 468.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.1053, allocations: 8 kB / 468.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1054, allocations: 4.438 kB / 468.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.1055, allocations: 55.91 kB / 468.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1055, allocations: 4 kB / 468.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.1056, allocations: 23.75 kB / 468.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.1057, allocations: 11.94 kB / 468.9 MB, free: 11.42 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001086/0.1058, allocations: 161.6 kB / 469.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.1058, allocations: 15.81 kB / 469.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.106, allocations: 115 kB / 469.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.106, allocations: 7.984 kB / 469.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.106, allocations: 4 kB / 469.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.106, allocations: 0 / 469.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006106/0.1066, allocations: 0.5759 MB / 469.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1067, allocations: 4 kB / 469.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-05/0.1067, allocations: 24.11 kB / 469.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1068, allocations: 3.938 kB / 469.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1068, allocations: 7.938 kB / 469.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1068, allocations: 4 kB / 469.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1068, allocations: 4 kB / 469.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.107, allocations: 284.1 kB / 470.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.1071, allocations: 96.91 kB / 470.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.1071, allocations: 7.938 kB / 470.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1072, allocations: 7.984 kB / 470.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.1072, allocations: 19.91 kB / 470.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.1073, allocations: 4 kB / 470.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.1074, allocations: 161.5 kB / 470.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1074, allocations: 0 / 470.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.1077, allocations: 51.84 kB / 470.4 MB, free: 9.719 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000404/0.1081, allocations: 0.8142 MB / 471.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.1083, allocations: 119.8 kB / 471.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1083, allocations: 0 / 471.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.34e-05/0.1084, allocations: 45.11 kB / 471.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.1088, allocations: 36.12 kB / 471.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.1108, allocations: 2.385 MB / 473.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.1111, allocations: 0.7515 MB / 474.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1112, allocations: 41.52 kB / 474.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.359e-05/0.1113, allocations: 59.41 kB / 474.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1113, allocations: 0 / 474.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.848/2.959, allocations: 3.18 MB / 477.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/2.959, allocations: 204.9 kB / 478.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/4.668, allocations: 4 kB / 478.1 MB, free: 1.801 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)