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.002154/0.002154, allocations: 182.8 kB / 15.76 MB, free: 6.344 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.269/2.269, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001188/0.001188, allocations: 98.84 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2694/0.2694, allocations: 38.06 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004774, allocations: 15.98 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1089, allocations: 56.33 MB / 479.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4936/0.6026, allocations: 95.68 MB / 0.5613 GB, free: 4.098 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.6029, allocations: 83.39 kB / 0.5614 GB, free: 4.051 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2252/0.8281, allocations: 57.8 MB / 0.6179 GB, free: 1.781 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.8282, allocations: 0 / 0.6179 GB, free: 1.781 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.82e-05/0.8283, allocations: 12 kB / 0.6179 GB, free: 1.77 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003642/0.8319, allocations: 1.066 MB / 0.6189 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/0.832, allocations: 12.02 kB / 0.6189 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005295/0.8325, allocations: 131.2 kB / 0.6191 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006083/0.8386, allocations: 426.3 kB / 0.6195 GB, free: 88 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.8404, allocations: 0.4884 MB / 0.6199 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.678e-05/0.8406, allocations: 57.97 kB / 0.62 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/0.8409, allocations: 75.98 kB / 0.6201 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00361/0.8445, allocations: 1.199 MB / 0.6212 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.223e-05/0.8446, allocations: 4 kB / 0.6212 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.8448, allocations: 31.94 kB / 0.6213 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005357/0.8453, allocations: 109.9 kB / 0.6214 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003793/0.8491, allocations: 1.257 MB / 0.6226 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.8596, allocations: 3.7 MB / 0.6262 GB, free: 8.988 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.8629, allocations: 1.098 MB / 0.6273 GB, free: 7.859 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.863, allocations: 17.2 kB / 0.6273 GB, free: 7.844 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.8631, allocations: 43.56 kB / 0.6273 GB, free: 7.793 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 4.428e-06/0.8631, allocations: 0 / 0.6273 GB, free: 7.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.01243/0.8755, allocations: 3.049 MB / 0.6303 GB, free: 4.715 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.8757, allocations: 90.11 kB / 0.6304 GB, free: 4.609 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006651/0.8763, allocations: 328.8 kB / 0.6307 GB, free: 4.285 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002387/0.8766, allocations: 41.7 kB / 0.6308 GB, free: 4.238 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.8769, allocations: 370.5 kB / 0.6311 GB, free: 3.871 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000565/0.8775, allocations: 311.4 kB / 0.6314 GB, free: 3.562 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.8776, allocations: 23.97 kB / 0.6314 GB, free: 3.539 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.8778, allocations: 350.8 kB / 0.6318 GB, free: 3.188 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.8791, allocations: 441.7 kB / 0.6322 GB, free: 2.754 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.8806, allocations: 0.5508 MB / 0.6327 GB, free: 2.172 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.8822, allocations: 0.5183 MB / 0.6332 GB, free: 1.656 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.8823, allocations: 0 / 0.6332 GB, free: 1.656 MB / 426.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004542/0.8869, allocations: 1.408 MB / 0.6346 GB, free: 244 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.8869, allocations: 7.984 kB / 0.6346 GB, free: 236 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.887, allocations: 4 kB / 0.6346 GB, free: 232 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/0.8887, allocations: 339.1 kB / 0.6349 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.8904, allocations: 195.7 kB / 0.6351 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009191/0.8996, allocations: 3.998 MB / 0.639 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.9009, allocations: 63.92 kB / 0.6391 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.901, allocations: 31.98 kB / 0.6391 GB, free: 11.45 MB / 442.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 () * Number of clocked 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.0007653/0.9018, allocations: 305.6 kB / 0.6394 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.902, allocations: 63.3 kB / 0.6395 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004699/0.9067, allocations: 1.52 MB / 0.641 GB, free: 9.535 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.9068, allocations: 16 kB / 0.641 GB, free: 9.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.9068, allocations: 4 kB / 0.641 GB, free: 9.516 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.864e-05/0.9069, allocations: 3.984 kB / 0.641 GB, free: 9.512 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.00976/0.9166, allocations: 3.005 MB / 0.6439 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.9167, allocations: 7.953 kB / 0.6439 GB, free: 6.371 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/0.9182, allocations: 167.8 kB / 0.6441 GB, free: 6.207 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.9198, allocations: 277.1 kB / 0.6444 GB, free: 5.934 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002216/0.92, allocations: 27.98 kB / 0.6444 GB, free: 5.906 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008701/0.9287, allocations: 3.711 MB / 0.648 GB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/0.9288, allocations: 7.938 kB / 0.648 GB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/0.9334, allocations: 1.711 MB / 0.6497 GB, free: 180 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003778/0.9339, allocations: 148.3 kB / 0.6498 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/0.9342, allocations: 24.08 kB / 0.6498 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008767/0.9351, allocations: 47.94 kB / 0.6499 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.9353, allocations: 80.8 kB / 0.65 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.9354, allocations: 32 kB / 0.65 GB, free: 15.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005006/0.9359, allocations: 263.1 kB / 0.6503 GB, free: 15.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.9359, allocations: 0 / 0.6503 GB, free: 15.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001607/0.9376, allocations: 324.9 kB / 0.6506 GB, free: 15.25 MB / 458.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 () * Number of clocked 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.005409/0.943, allocations: 3.326 MB / 0.6538 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003932/0.947, allocations: 1.343 MB / 0.6551 GB, free: 10.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.9471, allocations: 0 / 0.6551 GB, free: 10.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002325/0.9494, allocations: 0.8206 MB / 0.6559 GB, free: 9.613 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009361/0.9504, allocations: 98.97 kB / 0.656 GB, free: 9.516 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/0.9647, allocations: 6.821 MB / 0.6627 GB, free: 2.535 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.9658, allocations: 1.097 MB / 0.6638 GB, free: 1.406 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008179/0.9667, allocations: 283.3 kB / 0.664 GB, free: 1.129 MB / 458.7 MB Notification: Performance of SimCode: time 1.073e-06/0.9667, allocations: 0 / 0.664 GB, free: 1.129 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.877/3.844, allocations: 15.56 MB / 0.6792 GB, free: 1.543 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)