Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.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.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line",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.00174/0.00174, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.631/1.631, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0008568/0.0008568, allocations: 78.73 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1515/0.1515, allocations: 37.97 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.046e-05/4.049e-05, allocations: 4 kB / 417.8 MB, free: 29.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1215, allocations: 56.32 MB / 474.1 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3714/0.4929, allocations: 104.5 MB / 0.5651 GB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.4932, allocations: 94.73 kB / 0.5652 GB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04824/0.5415, allocations: 17.46 MB / 0.5823 GB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5416, allocations: 4 kB / 0.5823 GB, free: 15.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.37e-05/0.5416, allocations: 12 kB / 0.5823 GB, free: 15.21 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001403/0.543, allocations: 0.7876 MB / 0.583 GB, free: 14.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.5431, allocations: 8.031 kB / 0.583 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.5432, allocations: 98.14 kB / 0.5831 GB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.5443, allocations: 151.1 kB / 0.5833 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003133/0.5474, allocations: 1.213 MB / 0.5845 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.5475, allocations: 32.44 kB / 0.5845 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.5476, allocations: 59.42 kB / 0.5846 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.5488, allocations: 0.8274 MB / 0.5854 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.5488, allocations: 7.859 kB / 0.5854 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.996e-05/0.5489, allocations: 24.86 kB / 0.5854 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/0.549, allocations: 35.95 kB / 0.5854 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008365/0.5499, allocations: 0.5858 MB / 0.586 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.5611, allocations: 5.773 MB / 0.5916 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.5622, allocations: 0.7531 MB / 0.5924 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007163/0.5629, allocations: 0.6431 MB / 0.593 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.098e-05/0.563, allocations: 8.438 kB / 0.593 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.5631, allocations: 38.94 kB / 0.5931 GB, free: 6.035 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 3.016e-06/0.5631, allocations: 3.938 kB / 0.5931 GB, free: 6.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.01533/0.5784, allocations: 5.317 MB / 0.5982 GB, free: 1.609 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.5785, allocations: 89.5 kB / 0.5983 GB, free: 1.504 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.5791, allocations: 350.5 kB / 0.5987 GB, free: 1.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.5793, allocations: 32.39 kB / 0.5987 GB, free: 1.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.5795, allocations: 322.4 kB / 0.599 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/0.5799, allocations: 261.4 kB / 0.5993 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.58, allocations: 13.06 kB / 0.5993 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.5802, allocations: 370.3 kB / 0.5996 GB, free: 376 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.5813, allocations: 0.7904 MB / 0.6004 GB, free: 15.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.5824, allocations: 0.9989 MB / 0.6014 GB, free: 15.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.5836, allocations: 0.8994 MB / 0.6022 GB, free: 14.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5836, allocations: 0 / 0.6022 GB, free: 14.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01641/0.6, allocations: 5.366 MB / 0.6075 GB, free: 10.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.6001, allocations: 8 kB / 0.6075 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0124/0.6125, allocations: 4.254 MB / 0.6116 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01836/0.6309, allocations: 5.839 MB / 0.6173 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/0.6315, allocations: 123.7 kB / 0.6175 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/0.6489, allocations: 10.96 MB / 0.6282 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008616/0.6498, allocations: 59.94 kB / 0.6282 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003565/0.6502, allocations: 163.9 kB / 0.6284 GB, free: 4.758 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004089/0.6506, allocations: 153.4 kB / 0.6285 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.6508, allocations: 51.34 kB / 0.6286 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/0.6645, allocations: 4.056 MB / 0.6325 GB, free: 484 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-05/0.6646, allocations: 8 kB / 0.6326 GB, free: 476 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.6646, allocations: 0 / 0.6326 GB, free: 476 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/0.6646, allocations: 15.92 kB / 0.6326 GB, free: 460 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.681, allocations: 5.461 MB / 0.6379 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/0.6811, allocations: 4 kB / 0.6379 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.6814, allocations: 51.91 kB / 0.638 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02544/0.7069, allocations: 7.974 MB / 0.6457 GB, free: 2.852 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004537/0.7074, allocations: 231.8 kB / 0.646 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/0.7258, allocations: 13.64 MB / 0.6593 GB, free: 4.719 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7259, allocations: 0 / 0.6593 GB, free: 4.719 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/0.7399, allocations: 4.523 MB / 0.6637 GB, free: 140 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.7402, allocations: 116.5 kB / 0.6638 GB, free: 4 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004449/0.7407, allocations: 195.9 kB / 0.664 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/0.7413, allocations: 51.89 kB / 0.664 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005274/0.7418, allocations: 144.2 kB / 0.6642 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002569/0.7421, allocations: 168 kB / 0.6643 GB, free: 15.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003412/0.7424, allocations: 269.2 kB / 0.6646 GB, free: 15.19 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7425, allocations: 4 kB / 0.6646 GB, free: 15.19 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001567/0.744, allocations: 392 kB / 0.665 GB, free: 14.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01463/0.7587, allocations: 5.393 MB / 0.6702 GB, free: 9.352 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004957/0.7637, allocations: 2.393 MB / 0.6726 GB, free: 6.922 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7637, allocations: 0 / 0.6726 GB, free: 6.922 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003767/0.7675, allocations: 1.567 MB / 0.6741 GB, free: 5.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008663/0.7684, allocations: 113.5 kB / 0.6742 GB, free: 5.211 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/0.7743, allocations: 3.543 MB / 0.6777 GB, free: 1.609 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006237/0.775, allocations: 0.9813 MB / 0.6786 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004581/0.7754, allocations: 136.9 kB / 0.6788 GB, free: 476 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.7757, allocations: 219.3 kB / 0.679 GB, free: 256 kB / 474.7 MB Notification: Performance of SimCode: time 8.92e-07/0.7758, allocations: 0 / 0.679 GB, free: 256 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2694/1.045, allocations: 39.33 MB / 0.7174 GB, free: 157.5 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001249/1.045, allocations: 192.2 kB / 0.7176 GB, free: 157.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.731, allocations: 0 / 0.7176 GB, free: 157.3 MB / 490.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)