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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001285/0.001285, allocations: 180.7 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.35/1.35, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001593/0.001593, allocations: 119.4 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1731/0.1731, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 8 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08977/0.09014, allocations: 53.22 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3598/0.45, allocations: 90.36 MB / 0.5346 GB, free: 5.434 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.4504, allocations: 91 kB / 0.5347 GB, free: 5.383 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03343/0.4839, allocations: 14.65 MB / 0.549 GB, free: 9.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4839, allocations: 0 / 0.549 GB, free: 9.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.4839, allocations: 4 kB / 0.549 GB, free: 9.336 MB / 362.7 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.0008393/0.4848, allocations: 0.5064 MB / 0.5495 GB, free: 8.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4848, allocations: 12.02 kB / 0.5495 GB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.4849, allocations: 58.17 kB / 0.5496 GB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009595/0.4859, allocations: 115.7 kB / 0.5497 GB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.4863, allocations: 265 kB / 0.55 GB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.4864, allocations: 16.81 kB / 0.55 GB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.4864, allocations: 20.81 kB / 0.55 GB, free: 8.309 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.4869, allocations: 318.4 kB / 0.5503 GB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4869, allocations: 0 / 0.5503 GB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.487, allocations: 7.453 kB / 0.5503 GB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.743e-05/0.487, allocations: 15.94 kB / 0.5503 GB, free: 8.035 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/0.4875, allocations: 293.4 kB / 0.5506 GB, free: 7.836 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.4892, allocations: 1.285 MB / 0.5519 GB, free: 6.605 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.4895, allocations: 195.4 kB / 0.552 GB, free: 6.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.4896, allocations: 4 kB / 0.552 GB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.4896, allocations: 34.81 kB / 0.5521 GB, free: 6.355 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.4896, allocations: 3.938 kB / 0.5521 GB, free: 6.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003104/0.4899, allocations: 138.9 kB / 0.5522 GB, free: 6.234 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.49, allocations: 81.05 kB / 0.5523 GB, free: 6.137 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.4902, allocations: 180.7 kB / 0.5525 GB, free: 5.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.4902, allocations: 29.33 kB / 0.5525 GB, free: 5.949 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.4903, allocations: 178.1 kB / 0.5527 GB, free: 5.789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.4904, allocations: 38.77 kB / 0.5527 GB, free: 5.758 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.4904, allocations: 0 / 0.5527 GB, free: 5.758 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4905, allocations: 330.1 kB / 0.553 GB, free: 5.434 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.761e-05/0.4906, allocations: 38.97 kB / 0.553 GB, free: 5.406 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.4908, allocations: 140.2 kB / 0.5532 GB, free: 5.242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.4909, allocations: 62.17 kB / 0.5532 GB, free: 5.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4909, allocations: 4 kB / 0.5532 GB, free: 5.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003566/0.4912, allocations: 209.8 kB / 0.5534 GB, free: 5.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4913, allocations: 4 kB / 0.5534 GB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4913, allocations: 4 kB / 0.5535 GB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4913, allocations: 4 kB / 0.5535 GB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.4915, allocations: 43.92 kB / 0.5535 GB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.4915, allocations: 15.92 kB / 0.5535 GB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.4917, allocations: 23.47 kB / 0.5535 GB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.4917, allocations: 11.56 kB / 0.5535 GB, free: 4.922 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.4918, allocations: 155.9 kB / 0.5537 GB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.4919, allocations: 15.81 kB / 0.5537 GB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.4921, allocations: 115.6 kB / 0.5538 GB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4921, allocations: 0 / 0.5538 GB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.4921, allocations: 7.938 kB / 0.5538 GB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4921, allocations: 0 / 0.5538 GB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007655/0.4929, allocations: 0.5763 MB / 0.5544 GB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4929, allocations: 0 / 0.5544 GB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.933e-05/0.493, allocations: 19.94 kB / 0.5544 GB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.493, allocations: 12.25 kB / 0.5544 GB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.4931, allocations: 11.31 kB / 0.5544 GB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.4931, allocations: 4 kB / 0.5544 GB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.4931, allocations: 7.938 kB / 0.5544 GB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.4934, allocations: 397 kB / 0.5548 GB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.4935, allocations: 99.05 kB / 0.5549 GB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.4936, allocations: 11.3 kB / 0.5549 GB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.4937, allocations: 4 kB / 0.5549 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.4937, allocations: 18.55 kB / 0.5549 GB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.4938, allocations: 11.98 kB / 0.555 GB, free: 3.406 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001433/0.4939, allocations: 148.2 kB / 0.5551 GB, free: 3.281 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4939, allocations: 0 / 0.5551 GB, free: 3.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.4943, allocations: 61.41 kB / 0.5552 GB, free: 3.227 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000909/0.4952, allocations: 1.632 MB / 0.5568 GB, free: 1.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.4954, allocations: 108.1 kB / 0.5569 GB, free: 1.457 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4954, allocations: 0.875 kB / 0.5569 GB, free: 1.457 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.455e-05/0.4955, allocations: 57.28 kB / 0.5569 GB, free: 1.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.4958, allocations: 35.86 kB / 0.5569 GB, free: 1.383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.4984, allocations: 3.287 MB / 0.5602 GB, free: 14.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.4989, allocations: 0.7632 MB / 0.5609 GB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.499, allocations: 41.44 kB / 0.5609 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.4991, allocations: 66.23 kB / 0.561 GB, free: 13.25 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4991, allocations: 0 / 0.561 GB, free: 13.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.5147, allocations: 2.991 MB / 0.5639 GB, free: 10.28 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003179/0.5151, allocations: 168.6 kB / 0.5641 GB, free: 10.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/2.066, allocations: 0 / 0.5641 GB, free: 10.04 MB / 378.7 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/linux/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)