Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",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.001006/0.001006, allocations: 179.2 kB / 16.38 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.264/1.264, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001564/0.001564, allocations: 115.5 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1629/0.1629, allocations: 38.01 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 8 kB / 403.9 MB, free: 68.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08064/0.08099, allocations: 53.24 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3255/0.4066, allocations: 94.48 MB / 0.5387 GB, free: 1.633 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.4068, allocations: 84.88 kB / 0.5387 GB, free: 1.586 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1399/0.5468, allocations: 59.33 MB / 0.5967 GB, free: 12.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5468, allocations: 4 kB / 0.5967 GB, free: 12.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.754e-05/0.5469, allocations: 16 kB / 0.5967 GB, free: 12.73 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002377/0.5492, allocations: 1.19 MB / 0.5979 GB, free: 11.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.5493, allocations: 16.02 kB / 0.5979 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002319/0.5495, allocations: 160.6 kB / 0.598 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003854/0.5534, allocations: 0.4981 MB / 0.5985 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.5545, allocations: 0.5529 MB / 0.5991 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.5546, allocations: 65.98 kB / 0.5991 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.5547, allocations: 95.92 kB / 0.5992 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.557, allocations: 1.454 MB / 0.6006 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.557, allocations: 7.984 kB / 0.6006 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.85e-05/0.5571, allocations: 43.97 kB / 0.6007 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003092/0.5574, allocations: 133.9 kB / 0.6008 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.5597, allocations: 1.488 MB / 0.6023 GB, free: 6.875 MB / 410.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 preOpt removeSimpleEquations (simulation): time 0.007747/0.5674, allocations: 4.853 MB / 0.607 GB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.5692, allocations: 1.152 MB / 0.6081 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.058e-05/0.5693, allocations: 21.11 kB / 0.6081 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.5693, allocations: 47.88 kB / 0.6082 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 3.046e-06/0.5693, allocations: 0 / 0.6082 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.008276/0.5776, allocations: 3.715 MB / 0.6118 GB, free: 12.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.5777, allocations: 90.11 kB / 0.6119 GB, free: 12.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/0.5783, allocations: 416.8 kB / 0.6123 GB, free: 12.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.728e-05/0.5784, allocations: 45.73 kB / 0.6123 GB, free: 12.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.5787, allocations: 435.4 kB / 0.6128 GB, free: 11.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/0.579, allocations: 374.5 kB / 0.6131 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.5791, allocations: 24 kB / 0.6131 GB, free: 11.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.5793, allocations: 378.8 kB / 0.6135 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007729/0.5801, allocations: 0.5218 MB / 0.614 GB, free: 10.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009306/0.581, allocations: 0.7266 MB / 0.6147 GB, free: 9.688 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009629/0.582, allocations: 0.6432 MB / 0.6154 GB, free: 9.051 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.582, allocations: 7.984 kB / 0.6154 GB, free: 9.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003132/0.5851, allocations: 1.764 MB / 0.6171 GB, free: 7.262 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.5852, allocations: 15.94 kB / 0.6171 GB, free: 7.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.5852, allocations: 8 kB / 0.6171 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.5863, allocations: 407.6 kB / 0.6175 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009492/0.5873, allocations: 235.6 kB / 0.6177 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007021/0.5943, allocations: 5.76 MB / 0.6233 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009179/0.5953, allocations: 67.98 kB / 0.6234 GB, free: 500 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.641e-05/0.5954, allocations: 44.47 kB / 0.6235 GB, free: 456 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000632/0.596, allocations: 361.5 kB / 0.6238 GB, free: 84 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.5962, allocations: 71.16 kB / 0.6239 GB, free: 12 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002912/0.5991, allocations: 1.783 MB / 0.6256 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.5991, allocations: 12 kB / 0.6256 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.5991, allocations: 11.94 kB / 0.6256 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.5991, allocations: 11.92 kB / 0.6256 GB, free: 14.18 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.005598/0.6047, allocations: 3.435 MB / 0.629 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.6048, allocations: 4 kB / 0.629 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007243/0.6055, allocations: 183.8 kB / 0.6292 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009106/0.6064, allocations: 356.2 kB / 0.6295 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-05/0.6065, allocations: 27.98 kB / 0.6295 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006424/0.6129, allocations: 5.477 MB / 0.6349 GB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.613, allocations: 4 kB / 0.6349 GB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/0.6159, allocations: 1.972 MB / 0.6368 GB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.6162, allocations: 152.2 kB / 0.637 GB, free: 1.984 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.913e-05/0.6163, allocations: 28 kB / 0.637 GB, free: 1.957 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005121/0.6168, allocations: 51.94 kB / 0.637 GB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.617, allocations: 92.78 kB / 0.6371 GB, free: 1.816 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.6171, allocations: 39.98 kB / 0.6372 GB, free: 1.777 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003985/0.6175, allocations: 319.1 kB / 0.6375 GB, free: 1.465 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6175, allocations: 0 / 0.6375 GB, free: 1.465 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001244/0.6187, allocations: 408 kB / 0.6379 GB, free: 1.066 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 (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003506/0.6223, allocations: 3.573 MB / 0.6413 GB, free: 13.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.6249, allocations: 1.709 MB / 0.643 GB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.6249, allocations: 8.062 kB / 0.643 GB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.6264, allocations: 1.061 MB / 0.6441 GB, free: 10.53 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.627, allocations: 114.8 kB / 0.6442 GB, free: 10.42 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.6375, allocations: 10.13 MB / 0.6541 GB, free: 60 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009719/0.6385, allocations: 1.204 MB / 0.6552 GB, free: 14.83 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006308/0.6391, allocations: 233.4 kB / 0.6555 GB, free: 14.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004939/0.6396, allocations: 339.3 kB / 0.6558 GB, free: 14.27 MB / 474.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6397, allocations: 0 / 0.6558 GB, free: 14.27 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.232/0.8717, allocations: 18.51 MB / 0.6739 GB, free: 132.2 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/0.8718, allocations: 208.5 kB / 0.6741 GB, free: 132 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.267, allocations: 5.797 kB / 0.6741 GB, free: 132 MB / 474.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)