Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.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.Network.NetworkOpened,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkOpened",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.001543/0.001543, allocations: 185.4 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.951/1.951, 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.001102, allocations: 100.5 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2728/0.2728, allocations: 37.96 MB / 353.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.485e-05, allocations: 4 kB / 416.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1026, allocations: 56.31 MB / 473.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4659/0.5685, allocations: 95.58 MB / 0.5555 GB, free: 8.094 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.5689, allocations: 79.95 kB / 0.5555 GB, free: 8.016 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.288/0.8569, allocations: 57.49 MB / 0.6117 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.8569, allocations: 0 / 0.6117 GB, free: 13.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.361e-05/0.857, allocations: 16 kB / 0.6117 GB, free: 13.82 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002689/0.8597, allocations: 1.007 MB / 0.6127 GB, free: 12.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.8598, allocations: 8.031 kB / 0.6127 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003105/0.8601, allocations: 139.1 kB / 0.6128 GB, free: 12.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00565/0.8657, allocations: 426.4 kB / 0.6132 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.8673, allocations: 493 kB / 0.6137 GB, free: 11.67 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.252e-05/0.8674, allocations: 65.97 kB / 0.6138 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002508/0.8677, allocations: 71.98 kB / 0.6138 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/0.8709, allocations: 1.184 MB / 0.615 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.8709, allocations: 0 / 0.615 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.8711, allocations: 35.94 kB / 0.615 GB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005099/0.8716, allocations: 113.9 kB / 0.6151 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003493/0.8751, allocations: 1.226 MB / 0.6163 GB, free: 8.953 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.8855, allocations: 3.712 MB / 0.62 GB, free: 5.133 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003189/0.8888, allocations: 1.071 MB / 0.621 GB, free: 4.035 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.8904, allocations: 0.6252 MB / 0.6216 GB, free: 3.406 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.8906, allocations: 20.91 kB / 0.6216 GB, free: 3.383 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.8907, allocations: 43.34 kB / 0.6217 GB, free: 3.332 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 3.497e-06/0.8907, allocations: 0 / 0.6217 GB, free: 3.332 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.006755/0.8975, allocations: 2.001 MB / 0.6236 GB, free: 1.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/0.8976, allocations: 89.83 kB / 0.6237 GB, free: 1.211 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006575/0.8983, allocations: 331.5 kB / 0.624 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002455/0.8985, allocations: 37.7 kB / 0.6241 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.8988, allocations: 374.5 kB / 0.6244 GB, free: 484 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004888/0.8993, allocations: 319.4 kB / 0.6247 GB, free: 160 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/0.8994, allocations: 16 kB / 0.6247 GB, free: 144 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.8996, allocations: 350.8 kB / 0.6251 GB, free: 15.79 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.9009, allocations: 433.8 kB / 0.6255 GB, free: 15.36 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.9023, allocations: 0.5431 MB / 0.626 GB, free: 14.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.9038, allocations: 0.5162 MB / 0.6265 GB, free: 14.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.9039, allocations: 0 / 0.6265 GB, free: 14.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004499/0.9084, allocations: 1.384 MB / 0.6279 GB, free: 12.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.9085, allocations: 8 kB / 0.6279 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.9085, allocations: 0 / 0.6279 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.9102, allocations: 339.2 kB / 0.6282 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.9119, allocations: 187.7 kB / 0.6284 GB, free: 12.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009262/0.9212, allocations: 3.892 MB / 0.6322 GB, free: 8.293 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.9224, allocations: 71.89 kB / 0.6323 GB, free: 8.223 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.9226, allocations: 39.92 kB / 0.6323 GB, free: 8.184 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002957/0.923, allocations: 147.9 kB / 0.6324 GB, free: 8.035 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.9232, allocations: 59.3 kB / 0.6325 GB, free: 7.977 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004833/0.928, allocations: 1.508 MB / 0.634 GB, free: 6.457 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/0.9281, allocations: 12 kB / 0.634 GB, free: 6.445 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.9281, allocations: 4 kB / 0.634 GB, free: 6.441 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.934e-05/0.9282, allocations: 3.984 kB / 0.634 GB, free: 6.438 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009483/0.9376, allocations: 2.98 MB / 0.6369 GB, free: 3.332 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.9377, allocations: 4 kB / 0.6369 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.9392, allocations: 176.2 kB / 0.6371 GB, free: 3.156 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00148/0.9407, allocations: 276.6 kB / 0.6373 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/0.9409, allocations: 27.98 kB / 0.6374 GB, free: 2.855 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3194/1.26, allocations: 3.593 MB / 0.6409 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.026e-06/1.26, allocations: 7.094 kB / 0.6409 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004362/1.265, allocations: 1.702 MB / 0.6425 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/1.265, allocations: 145.8 kB / 0.6427 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/1.265, allocations: 24.81 kB / 0.6427 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008709/1.266, allocations: 46.66 kB / 0.6427 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/1.267, allocations: 82.41 kB / 0.6428 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.267, allocations: 31.66 kB / 0.6428 GB, free: 117.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004748/1.267, allocations: 262.8 kB / 0.6431 GB, free: 117.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.267, allocations: 1.562 kB / 0.6431 GB, free: 117.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001595/1.269, allocations: 321.6 kB / 0.6434 GB, free: 117.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004624/1.273, allocations: 3.304 MB / 0.6466 GB, free: 115.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003705/1.277, allocations: 1.322 MB / 0.6479 GB, free: 115.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.277, allocations: 0 / 0.6479 GB, free: 115.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002276/1.28, allocations: 0.803 MB / 0.6487 GB, free: 115.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008893/1.28, allocations: 92.25 kB / 0.6488 GB, free: 115.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005509/1.286, allocations: 1.809 MB / 0.6506 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.287, allocations: 1.1 MB / 0.6516 GB, free: 114.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007707/1.288, allocations: 276.7 kB / 0.6519 GB, free: 114.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.403e-06/1.288, allocations: 2.781 kB / 0.6519 GB, free: 114.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.173/4.461, allocations: 16.07 MB / 0.6676 GB, free: 113.7 MB / 474.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)