Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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_cpp_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_cpp_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.001424/0.001424, allocations: 180.7 kB / 8.011 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 82.23 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2583/0.2583, allocations: 37.99 MB / 347.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.393e-05, allocations: 4 kB / 409.9 MB, free: 35.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 56.33 MB / 466.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5612/0.701, allocations: 103.9 MB / 0.5568 GB, free: 7.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004311/0.7015, allocations: 92.56 kB / 0.5569 GB, free: 7.434 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1175/0.819, allocations: 17.32 MB / 0.5738 GB, free: 8.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.8191, allocations: 0 / 0.5738 GB, free: 8.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.048e-05/0.8192, allocations: 20 kB / 0.5738 GB, free: 8.758 MB / 378.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.003394/0.8226, allocations: 0.7738 MB / 0.5746 GB, free: 7.969 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.8227, allocations: 8.031 kB / 0.5746 GB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003157/0.8259, allocations: 147.1 kB / 0.5747 GB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008036/0.834, allocations: 1.205 MB / 0.5759 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/0.8341, allocations: 12 kB / 0.5759 GB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003121/0.8344, allocations: 35.94 kB / 0.5759 GB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002186/0.8366, allocations: 0.513 MB / 0.5764 GB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.8393, allocations: 0.7835 MB / 0.5772 GB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.706e-05/0.8394, allocations: 7.906 kB / 0.5772 GB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.8395, allocations: 0 / 0.5772 GB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000466/0.84, allocations: 32.77 kB / 0.5772 GB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0321/0.8722, allocations: 5.672 MB / 0.5828 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.8747, allocations: 0.7319 MB / 0.5835 GB, free: 304 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/0.8769, allocations: 0.6275 MB / 0.5841 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.8772, allocations: 16.36 kB / 0.5841 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.65e-05/0.8773, allocations: 42.06 kB / 0.5842 GB, free: 15.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 6.823e-06/0.8773, allocations: 0 / 0.5842 GB, free: 15.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.04501/0.9223, allocations: 5.233 MB / 0.5893 GB, free: 11.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/0.9225, allocations: 86.3 kB / 0.5893 GB, free: 11.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008467/0.9234, allocations: 335.6 kB / 0.5897 GB, free: 11.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003153/0.9237, allocations: 29.73 kB / 0.5897 GB, free: 11.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003895/0.9241, allocations: 367.5 kB / 0.59 GB, free: 10.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006179/0.9248, allocations: 248 kB / 0.5903 GB, free: 10.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.925, allocations: 0 / 0.5903 GB, free: 10.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.9252, allocations: 349.1 kB / 0.5906 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002679/0.9279, allocations: 0.7789 MB / 0.5914 GB, free: 9.777 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003029/0.931, allocations: 0.9935 MB / 0.5923 GB, free: 8.992 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003327/0.9344, allocations: 0.8806 MB / 0.5932 GB, free: 8.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.9344, allocations: 0 / 0.5932 GB, free: 8.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.04738/0.9818, allocations: 5.279 MB / 0.5984 GB, free: 4.051 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.9819, allocations: 11.95 kB / 0.5984 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0357/1.018, allocations: 4.209 MB / 0.6025 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05561/1.073, allocations: 5.788 MB / 0.6081 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/1.075, allocations: 119.8 kB / 0.6082 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0423/1.117, allocations: 10.43 MB / 0.6184 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/1.119, allocations: 51.88 kB / 0.6185 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005627/1.119, allocations: 163.9 kB / 0.6186 GB, free: 15.82 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.0005575/1.12, allocations: 128.8 kB / 0.6188 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03839/1.158, allocations: 3.849 MB / 0.6225 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005245/1.159, allocations: 51.39 kB / 0.6226 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03893/1.198, allocations: 4.017 MB / 0.6265 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.135e-05/1.198, allocations: 8 kB / 0.6265 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.198, allocations: 3.984 kB / 0.6265 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/1.198, allocations: 0 / 0.6265 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04926/1.247, allocations: 5.352 MB / 0.6317 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/1.248, allocations: 0 / 0.6317 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007914/1.248, allocations: 63.89 kB / 0.6318 GB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05183/1.3, allocations: 7.854 MB / 0.6395 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006553/1.301, allocations: 239.7 kB / 0.6397 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03075/1.332, allocations: 13.36 MB / 0.6527 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.689e-06/1.332, allocations: 3.938 kB / 0.6527 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02613/1.358, allocations: 4.476 MB / 0.6571 GB, free: 7.984 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/1.358, allocations: 124.4 kB / 0.6572 GB, free: 7.844 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006182/1.359, allocations: 183.9 kB / 0.6574 GB, free: 7.664 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.36, allocations: 35.94 kB / 0.6574 GB, free: 7.629 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007092/1.361, allocations: 140.2 kB / 0.6576 GB, free: 7.492 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003662/1.361, allocations: 164 kB / 0.6577 GB, free: 7.332 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004409/1.361, allocations: 250.9 kB / 0.658 GB, free: 7.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.361, allocations: 0 / 0.658 GB, free: 7.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002133/1.364, allocations: 383.9 kB / 0.6583 GB, free: 6.715 MB / 458.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.02674/1.39, allocations: 5.338 MB / 0.6635 GB, free: 1.309 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007714/1.398, allocations: 2.336 MB / 0.6658 GB, free: 14.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.398, allocations: 0.5625 kB / 0.6658 GB, free: 14.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006018/1.404, allocations: 1.54 MB / 0.6673 GB, free: 13.38 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/1.405, allocations: 93.81 kB / 0.6674 GB, free: 13.29 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009151/1.414, allocations: 3.565 MB / 0.6709 GB, free: 9.664 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007999/1.415, allocations: 0.9852 MB / 0.6719 GB, free: 8.648 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005152/1.416, allocations: 211.4 kB / 0.6721 GB, free: 8.441 MB / 474.7 MB Notification: Performance of SimCode: time 1.112e-06/1.416, allocations: 0 / 0.6721 GB, free: 8.441 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.967/5.383, allocations: 25.82 MB / 0.6973 GB, free: 161.9 MB / 490.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)