Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.NetworkLoop_dq0,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_cpp_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.3+maint.om/package.mo): time 0.001515/0.00152, allocations: 185.1 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.956/1.956, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001107/0.001107, allocations: 87.77 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2788/0.2788, allocations: 37.97 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.828e-05, allocations: 4 kB / 416.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 56.32 MB / 473.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5791/0.6854, allocations: 99.38 MB / 0.5592 GB, free: 4.301 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000434/0.6859, allocations: 83.95 kB / 0.5593 GB, free: 4.219 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2529/0.9388, allocations: 59.07 MB / 0.6169 GB, free: 8.441 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.9389, allocations: 0 / 0.6169 GB, free: 8.441 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.735e-05/0.9389, allocations: 16 kB / 0.617 GB, free: 8.426 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003595/0.9425, allocations: 1.128 MB / 0.6181 GB, free: 7.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.9426, allocations: 12.03 kB / 0.6181 GB, free: 7.238 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005739/0.9432, allocations: 164.5 kB / 0.6182 GB, free: 7.066 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006842/0.9501, allocations: 0.5058 MB / 0.6187 GB, free: 6.559 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.9519, allocations: 0.5515 MB / 0.6193 GB, free: 5.969 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.843e-05/0.952, allocations: 61.98 kB / 0.6193 GB, free: 5.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.9523, allocations: 84 kB / 0.6194 GB, free: 5.828 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004032/0.9564, allocations: 1.454 MB / 0.6208 GB, free: 4.336 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.554e-05/0.9564, allocations: 0 / 0.6208 GB, free: 4.336 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.9566, allocations: 35.98 kB / 0.6209 GB, free: 4.301 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006077/0.9572, allocations: 137.9 kB / 0.621 GB, free: 4.164 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004487/0.9617, allocations: 1.46 MB / 0.6224 GB, free: 2.695 MB / 458.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 preOpt removeSimpleEquations (simulation): time 0.01408/0.9759, allocations: 4.857 MB / 0.6272 GB, free: 13.63 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003316/0.9792, allocations: 1.144 MB / 0.6283 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/0.9812, allocations: 0.7381 MB / 0.629 GB, free: 11.72 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.9813, allocations: 25.05 kB / 0.629 GB, free: 11.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.9814, allocations: 47.56 kB / 0.6291 GB, free: 11.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=107): time 6.001e-06/0.9814, allocations: 96 / 0.6291 GB, free: 11.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.007468/0.9889, allocations: 2.377 MB / 0.6314 GB, free: 9.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.989, allocations: 90.11 kB / 0.6315 GB, free: 9.141 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008219/0.9899, allocations: 414.9 kB / 0.6319 GB, free: 8.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002226/0.9901, allocations: 45.7 kB / 0.6319 GB, free: 8.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/0.9905, allocations: 470 kB / 0.6324 GB, free: 8.215 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005622/0.9911, allocations: 370.5 kB / 0.6327 GB, free: 7.848 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.9912, allocations: 20 kB / 0.6327 GB, free: 7.828 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.9914, allocations: 358.8 kB / 0.6331 GB, free: 7.469 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.9929, allocations: 0.5102 MB / 0.6336 GB, free: 6.957 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.9946, allocations: 0.7189 MB / 0.6343 GB, free: 6.156 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.9965, allocations: 0.6372 MB / 0.6349 GB, free: 5.523 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.549e-06/0.9965, allocations: 0 / 0.6349 GB, free: 5.523 MB / 474.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005834/1.002, allocations: 1.725 MB / 0.6366 GB, free: 3.785 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/1.002, allocations: 15.84 kB / 0.6366 GB, free: 3.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/1.002, allocations: 8 kB / 0.6366 GB, free: 3.762 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002876/1.005, allocations: 415.2 kB / 0.637 GB, free: 3.352 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/1.007, allocations: 231.7 kB / 0.6372 GB, free: 3.125 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3251/1.332, allocations: 5.593 MB / 0.6427 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/1.334, allocations: 74.88 kB / 0.6427 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/1.334, allocations: 45.42 kB / 0.6428 GB, free: 118 MB / 474.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 () * 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.0003062/1.335, allocations: 164.8 kB / 0.6429 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/1.335, allocations: 79.84 kB / 0.643 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005373/1.34, allocations: 1.762 MB / 0.6447 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/1.34, allocations: 11.75 kB / 0.6448 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/1.34, allocations: 7.312 kB / 0.6448 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-05/1.34, allocations: 7.516 kB / 0.6448 GB, free: 117.8 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.01083/1.351, allocations: 3.414 MB / 0.6481 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/1.351, allocations: 3.219 kB / 0.6481 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/1.353, allocations: 187.7 kB / 0.6483 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/1.355, allocations: 344.3 kB / 0.6486 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002504/1.355, allocations: 29.28 kB / 0.6486 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009949/1.365, allocations: 5.328 MB / 0.6538 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.365, allocations: 9.281 kB / 0.6539 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005043/1.37, allocations: 1.946 MB / 0.6558 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/1.371, allocations: 152.9 kB / 0.6559 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/1.371, allocations: 25.52 kB / 0.6559 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009894/1.372, allocations: 54.75 kB / 0.656 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/1.372, allocations: 94.95 kB / 0.6561 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/1.372, allocations: 33.67 kB / 0.6561 GB, free: 113.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005908/1.373, allocations: 319.7 kB / 0.6564 GB, free: 113.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.373, allocations: 3.438 kB / 0.6564 GB, free: 113.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002092/1.375, allocations: 411 kB / 0.6568 GB, free: 113.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 (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.005534/1.381, allocations: 3.553 MB / 0.6603 GB, free: 111.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004573/1.385, allocations: 1.682 MB / 0.6619 GB, free: 111.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.385, allocations: 1.312 kB / 0.6619 GB, free: 111.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002614/1.388, allocations: 1.049 MB / 0.6629 GB, free: 111 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/1.389, allocations: 103 kB / 0.663 GB, free: 111 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/1.395, allocations: 2.172 MB / 0.6652 GB, free: 110.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/1.396, allocations: 1.195 MB / 0.6663 GB, free: 109.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009221/1.397, allocations: 354.6 kB / 0.6667 GB, free: 109.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.092e-06/1.397, allocations: 0 / 0.6667 GB, free: 109.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.221/4.618, allocations: 22.47 MB / 0.6886 GB, free: 109 MB / 474.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)