Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_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.2+maint.om/package.mo): time 0.001052/0.001052, allocations: 183.2 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.275/1.275, allocations: 194.5 MB / 211.6 MB, free: 3.062 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001709/0.001708, allocations: 123.1 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1648/0.1648, allocations: 38 MB / 340.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004688, allocations: 8 kB / 403.9 MB, free: 68.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08836/0.08886, allocations: 53.23 MB / 457.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3461/0.435, allocations: 90.68 MB / 0.5349 GB, free: 5.102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.4353, allocations: 87.95 kB / 0.535 GB, free: 5.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1295/0.5648, allocations: 57.78 MB / 0.5915 GB, free: 2.152 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5649, allocations: 0 / 0.5915 GB, free: 2.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.337e-05/0.5649, allocations: 16 kB / 0.5915 GB, free: 2.137 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002387/0.5673, allocations: 1.054 MB / 0.5925 GB, free: 1.031 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.5674, allocations: 12.02 kB / 0.5925 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001956/0.5676, allocations: 135.2 kB / 0.5926 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003793/0.5714, allocations: 422.4 kB / 0.593 GB, free: 476 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.5726, allocations: 0.4923 MB / 0.5935 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.5727, allocations: 57.98 kB / 0.5936 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.5728, allocations: 83.84 kB / 0.5937 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.5751, allocations: 1.191 MB / 0.5948 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.5751, allocations: 7.938 kB / 0.5948 GB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.942e-05/0.5752, allocations: 27.98 kB / 0.5949 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003186/0.5756, allocations: 117.9 kB / 0.595 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.5777, allocations: 1.257 MB / 0.5962 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006255/0.584, allocations: 3.7 MB / 0.5998 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.5859, allocations: 1.081 MB / 0.6009 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.106e-05/0.5859, allocations: 25.19 kB / 0.6009 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.586, allocations: 43.5 kB / 0.6009 GB, free: 8.172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 3.246e-06/0.586, allocations: 3.938 kB / 0.6009 GB, free: 8.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.006521/0.5925, allocations: 3.046 MB / 0.6039 GB, free: 5.098 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.5926, allocations: 94.05 kB / 0.604 GB, free: 4.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.5931, allocations: 328.8 kB / 0.6043 GB, free: 4.664 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/0.5932, allocations: 45.69 kB / 0.6044 GB, free: 4.613 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.5934, allocations: 320.1 kB / 0.6047 GB, free: 4.293 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/0.5937, allocations: 319.3 kB / 0.605 GB, free: 3.977 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.5938, allocations: 16 kB / 0.605 GB, free: 3.961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.594, allocations: 374.8 kB / 0.6053 GB, free: 3.586 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006147/0.5946, allocations: 445.7 kB / 0.6058 GB, free: 3.148 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007188/0.5953, allocations: 0.5392 MB / 0.6063 GB, free: 2.578 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.5961, allocations: 0.5222 MB / 0.6068 GB, free: 2.059 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5961, allocations: 0 / 0.6068 GB, free: 2.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002432/0.5985, allocations: 1.431 MB / 0.6082 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5986, allocations: 4 kB / 0.6082 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5986, allocations: 4 kB / 0.6082 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009495/0.5996, allocations: 339 kB / 0.6085 GB, free: 280 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007506/0.6003, allocations: 191.7 kB / 0.6087 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005429/0.6058, allocations: 3.998 MB / 0.6126 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/0.6064, allocations: 63.83 kB / 0.6127 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/0.6065, allocations: 39.92 kB / 0.6127 GB, free: 11.82 MB / 426.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.0005323/0.607, allocations: 313.5 kB / 0.613 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.6071, allocations: 59.34 kB / 0.6131 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/0.6099, allocations: 1.516 MB / 0.6146 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.6099, allocations: 12 kB / 0.6146 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.61, allocations: 8 kB / 0.6146 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.61, allocations: 3.984 kB / 0.6146 GB, free: 9.898 MB / 426.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.005184/0.6152, allocations: 3.002 MB / 0.6175 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/0.6152, allocations: 4 kB / 0.6175 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/0.6159, allocations: 171.8 kB / 0.6177 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008038/0.6167, allocations: 284.1 kB / 0.6179 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.979e-05/0.6168, allocations: 23.98 kB / 0.618 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004962/0.6217, allocations: 3.713 MB / 0.6216 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.6217, allocations: 8.062 kB / 0.6216 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.6245, allocations: 1.722 MB / 0.6233 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.6247, allocations: 144.3 kB / 0.6234 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-05/0.6248, allocations: 20 kB / 0.6234 GB, free: 384 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004649/0.6253, allocations: 51.94 kB / 0.6235 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.6254, allocations: 76.86 kB / 0.6236 GB, free: 256 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.458e-05/0.6255, allocations: 32 kB / 0.6236 GB, free: 224 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000369/0.6259, allocations: 267.1 kB / 0.6238 GB, free: 15.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6259, allocations: 0 / 0.6238 GB, free: 15.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001126/0.627, allocations: 320.9 kB / 0.6242 GB, free: 15.64 MB / 442.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.00331/0.6303, allocations: 3.323 MB / 0.6274 GB, free: 12.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002169/0.6325, allocations: 1.346 MB / 0.6287 GB, free: 10.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6325, allocations: 0 / 0.6287 GB, free: 10.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.6338, allocations: 0.8282 MB / 0.6295 GB, free: 9.992 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.6343, allocations: 90.42 kB / 0.6296 GB, free: 9.902 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008103/0.6424, allocations: 6.748 MB / 0.6362 GB, free: 3.004 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008612/0.6433, allocations: 1.105 MB / 0.6373 GB, free: 1.867 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000477/0.6438, allocations: 176.7 kB / 0.6374 GB, free: 1.691 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.6442, allocations: 275.3 kB / 0.6377 GB, free: 1.422 MB / 442.7 MB Notification: Performance of SimCode: time 1.673e-06/0.6442, allocations: 0 / 0.6377 GB, free: 1.422 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.6763, allocations: 15.1 MB / 0.6525 GB, free: 2.324 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.6766, allocations: 200 kB / 0.6526 GB, free: 2.082 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/2.939, allocations: 0 / 0.6526 GB, free: 2.082 MB / 458.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)