Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001556, allocations: 185.3 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.2 MB / 218.9 MB, free: 9.195 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001608/0.001608, allocations: 82.66 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2905/0.2905, allocations: 37.96 MB / 353.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.464e-05/3.481e-05, allocations: 0 / 416.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 56.32 MB / 473.2 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4938/0.6073, allocations: 94.72 MB / 0.5546 GB, free: 8.844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/0.6077, allocations: 83.95 kB / 0.5547 GB, free: 8.762 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05816/0.6659, allocations: 14.13 MB / 0.5685 GB, free: 10.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6659, allocations: 0 / 0.5685 GB, free: 10.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.25e-05/0.666, allocations: 4 kB / 0.5685 GB, free: 10.48 MB / 410.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.0009097/0.6669, allocations: 498.1 kB / 0.569 GB, free: 9.945 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.667, allocations: 12.02 kB / 0.569 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.609e-05/0.6671, allocations: 54.55 kB / 0.569 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.6686, allocations: 115.5 kB / 0.5691 GB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.6692, allocations: 271.4 kB / 0.5694 GB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.6692, allocations: 8 kB / 0.5694 GB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.43e-05/0.6693, allocations: 20 kB / 0.5694 GB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007674/0.6701, allocations: 321.6 kB / 0.5697 GB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.6701, allocations: 0 / 0.5697 GB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.6702, allocations: 8 kB / 0.5697 GB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.6703, allocations: 19.98 kB / 0.5698 GB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007793/0.6711, allocations: 295.7 kB / 0.57 GB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/0.6736, allocations: 1.256 MB / 0.5713 GB, free: 7.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/0.6741, allocations: 169 kB / 0.5714 GB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.6744, allocations: 101.8 kB / 0.5715 GB, free: 7.137 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.6744, allocations: 4 kB / 0.5715 GB, free: 7.133 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.6745, allocations: 30.56 kB / 0.5716 GB, free: 7.094 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.805e-06/0.6745, allocations: 0 / 0.5716 GB, free: 7.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.001514/0.676, allocations: 442.4 kB / 0.572 GB, free: 6.652 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.6761, allocations: 77.11 kB / 0.5721 GB, free: 6.559 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.6764, allocations: 177.6 kB / 0.5722 GB, free: 6.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.6764, allocations: 29.7 kB / 0.5723 GB, free: 6.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.6766, allocations: 210.4 kB / 0.5725 GB, free: 6.133 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.629e-05/0.6767, allocations: 71.08 kB / 0.5725 GB, free: 6.062 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/0.6767, allocations: 4 kB / 0.5725 GB, free: 6.059 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6769, allocations: 318.8 kB / 0.5728 GB, free: 5.738 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.6771, allocations: 71.98 kB / 0.5729 GB, free: 5.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.6774, allocations: 156.4 kB / 0.5731 GB, free: 5.484 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.6777, allocations: 99.94 kB / 0.5731 GB, free: 5.387 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6777, allocations: 0 / 0.5731 GB, free: 5.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001056/0.6787, allocations: 338.1 kB / 0.5735 GB, free: 5.047 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.6788, allocations: 11.97 kB / 0.5735 GB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.6788, allocations: 4 kB / 0.5735 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006202/0.6794, allocations: 96.78 kB / 0.5736 GB, free: 4.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.6798, allocations: 35.92 kB / 0.5736 GB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.6834, allocations: 1.946 MB / 0.5755 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.6837, allocations: 15.89 kB / 0.5755 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.6837, allocations: 12 kB / 0.5755 GB, free: 2.793 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.6839, allocations: 122.8 kB / 0.5757 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.684, allocations: 19.77 kB / 0.5757 GB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.685, allocations: 307.9 kB / 0.576 GB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.685, allocations: 4 kB / 0.576 GB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6851, allocations: 0 / 0.576 GB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.6851, allocations: 0 / 0.576 GB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.687, allocations: 0.743 MB / 0.5767 GB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.687, allocations: 0 / 0.5767 GB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.6873, allocations: 27.92 kB / 0.5767 GB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/0.6878, allocations: 84.84 kB / 0.5768 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.6878, allocations: 0 / 0.5768 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003013/0.6908, allocations: 1.822 MB / 0.5786 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6909, allocations: 0 / 0.5786 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.692, allocations: 439.8 kB / 0.579 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.6921, allocations: 96.91 kB / 0.5791 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.6922, allocations: 15.95 kB / 0.5791 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.6924, allocations: 7.984 kB / 0.5791 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.6925, allocations: 11.98 kB / 0.5791 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.6926, allocations: 8 kB / 0.5791 GB, free: 14.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002045/0.6928, allocations: 144.2 kB / 0.5793 GB, free: 14.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.715e-06/0.6928, allocations: 0 / 0.5793 GB, free: 14.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006734/0.6935, allocations: 75.94 kB / 0.5793 GB, free: 14.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001538/0.695, allocations: 1.188 MB / 0.5805 GB, free: 13.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.6962, allocations: 354.3 kB / 0.5808 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.6963, allocations: 0.5625 kB / 0.5808 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006535/0.697, allocations: 254.4 kB / 0.5811 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.6974, allocations: 40.09 kB / 0.5811 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.6988, allocations: 461.2 kB / 0.5816 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.6994, allocations: 0.7714 MB / 0.5823 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.6995, allocations: 55.42 kB / 0.5824 GB, free: 11.35 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6996, allocations: 0 / 0.5824 GB, free: 11.35 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.788/3.487, allocations: 4.505 MB / 0.5868 GB, free: 6.84 MB / 426.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)