Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.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.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_InitialSteadyState",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.002199/0.002198, allocations: 185 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 2.266/2.266, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.001102/0.001101, allocations: 86.59 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2784/0.2784, allocations: 37.96 MB / 353.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.238e-05/3.243e-05, allocations: 0 / 416.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 56.32 MB / 473.2 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/0.5817, allocations: 100.1 MB / 0.5599 GB, free: 3.457 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.5821, allocations: 79.95 kB / 0.56 GB, free: 3.379 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06232/0.6444, allocations: 13.26 MB / 0.5729 GB, free: 5.992 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6445, allocations: 0 / 0.5729 GB, free: 5.992 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.994e-05/0.6445, allocations: 16 kB / 0.5729 GB, free: 5.977 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00187/0.6464, allocations: 0.6756 MB / 0.5736 GB, free: 5.254 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.6465, allocations: 8.031 kB / 0.5736 GB, free: 5.246 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001833/0.6467, allocations: 86.52 kB / 0.5737 GB, free: 5.152 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009222/0.6476, allocations: 91.28 kB / 0.5738 GB, free: 5.062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/0.6513, allocations: 0.8525 MB / 0.5746 GB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.6514, allocations: 24.78 kB / 0.5746 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.6516, allocations: 55.91 kB / 0.5747 GB, free: 4.086 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.6532, allocations: 0.6436 MB / 0.5753 GB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.6533, allocations: 4 kB / 0.5753 GB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.206e-05/0.6534, allocations: 16 kB / 0.5753 GB, free: 3.383 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001825/0.6536, allocations: 40.75 kB / 0.5754 GB, free: 3.344 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.6553, allocations: 0.6318 MB / 0.576 GB, free: 2.715 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005824/0.6611, allocations: 2.417 MB / 0.5783 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009252/0.6621, allocations: 350 kB / 0.5787 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/0.6627, allocations: 254.3 kB / 0.5789 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.493e-05/0.6628, allocations: 4.281 kB / 0.5789 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.6628, allocations: 46.8 kB / 0.579 GB, free: 15.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 3.857e-06/0.6629, allocations: 0 / 0.579 GB, free: 15.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.00332/0.6662, allocations: 1.267 MB / 0.5802 GB, free: 14.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.6663, allocations: 81.11 kB / 0.5803 GB, free: 14.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.6667, allocations: 251.3 kB / 0.5805 GB, free: 13.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.6668, allocations: 41.72 kB / 0.5805 GB, free: 13.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.667, allocations: 294.1 kB / 0.5808 GB, free: 13.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.6673, allocations: 165.6 kB / 0.581 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.6673, allocations: 8 kB / 0.581 GB, free: 13.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.6675, allocations: 334.8 kB / 0.5813 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/0.668, allocations: 212.9 kB / 0.5815 GB, free: 12.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/0.6688, allocations: 357.3 kB / 0.5819 GB, free: 12.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000708/0.6695, allocations: 281 kB / 0.5821 GB, free: 12.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6695, allocations: 0 / 0.5821 GB, free: 12.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00204/0.6715, allocations: 0.7122 MB / 0.5828 GB, free: 11.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.6716, allocations: 15.86 kB / 0.5828 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001502/0.6731, allocations: 0.5046 MB / 0.5833 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005211/0.6737, allocations: 77.09 kB / 0.5834 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/0.6745, allocations: 99.81 kB / 0.5835 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.6769, allocations: 1.589 MB / 0.5851 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005966/0.6776, allocations: 36.03 kB / 0.5851 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/0.6777, allocations: 20 kB / 0.5851 GB, free: 8.898 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (53): * Single equations (assignments): 49 * Array equations: 3 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.6779, allocations: 132.8 kB / 0.5852 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.822e-05/0.678, allocations: 35.53 kB / 0.5853 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.6795, allocations: 0.5479 MB / 0.5858 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.759e-05/0.6796, allocations: 19.98 kB / 0.5858 GB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.6796, allocations: 0 / 0.5858 GB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.6796, allocations: 0 / 0.5858 GB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/0.6828, allocations: 1.182 MB / 0.587 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.6828, allocations: 0 / 0.587 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008151/0.6837, allocations: 87.81 kB / 0.5871 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.6837, allocations: 4.094 kB / 0.5871 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.719e-05/0.6838, allocations: 12 kB / 0.5871 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/0.6838, allocations: 7.953 kB / 0.5871 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6838, allocations: 0 / 0.5871 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.6859, allocations: 0.9738 MB / 0.588 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.6861, allocations: 112.7 kB / 0.5881 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/0.6862, allocations: 12.03 kB / 0.5881 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.6866, allocations: 23.95 kB / 0.5882 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.6867, allocations: 23.97 kB / 0.5882 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/0.6868, allocations: 16.23 kB / 0.5882 GB, free: 5.566 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003251/0.6871, allocations: 199.1 kB / 0.5884 GB, free: 5.375 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6871, allocations: 0 / 0.5884 GB, free: 5.375 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007772/0.6879, allocations: 139.9 kB / 0.5885 GB, free: 5.238 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 3 * 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.002753/0.6907, allocations: 1.826 MB / 0.5903 GB, free: 3.355 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0018/0.6925, allocations: 0.6641 MB / 0.591 GB, free: 2.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.6926, allocations: 0 / 0.591 GB, free: 2.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000623/0.6932, allocations: 260 kB / 0.5912 GB, free: 2.426 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006576/0.6939, allocations: 62.02 kB / 0.5913 GB, free: 2.363 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.6972, allocations: 1.134 MB / 0.5924 GB, free: 1.176 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006658/0.6979, allocations: 0.8831 MB / 0.5932 GB, free: 272 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/0.6984, allocations: 155.4 kB / 0.5934 GB, free: 116 kB / 426.7 MB Notification: Performance of SimCode: time 3.446e-06/0.6984, allocations: 0 / 0.5934 GB, free: 116 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.085/3.783, allocations: 8.413 MB / 0.6016 GB, free: 7.695 MB / 442.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)