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.00209/0.00209, allocations: 180.7 kB / 8.011 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002146/0.002146, allocations: 82.22 kB / 261.8 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2593/0.2593, allocations: 37.99 MB / 347.7 MB, free: 5.785 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.965e-05/1.977e-05, allocations: 0 / 409.9 MB, free: 35.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 56.33 MB / 466.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4976/0.6046, allocations: 98.72 MB / 0.5517 GB, free: 9.793 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.6049, allocations: 81.67 kB / 0.5518 GB, free: 9.781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2292/0.8342, allocations: 58.79 MB / 0.6092 GB, free: 9.656 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.8342, allocations: 0 / 0.6092 GB, free: 9.656 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.83e-05/0.8343, allocations: 20 kB / 0.6092 GB, free: 9.637 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.003651/0.838, allocations: 1.124 MB / 0.6103 GB, free: 8.465 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.838, allocations: 12.03 kB / 0.6104 GB, free: 8.453 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006632/0.8447, allocations: 0.5097 MB / 0.6109 GB, free: 7.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.8466, allocations: 0.5476 MB / 0.6114 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-05/0.8467, allocations: 28 kB / 0.6114 GB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/0.847, allocations: 52 kB / 0.6115 GB, free: 7.273 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003292/0.8503, allocations: 1.164 MB / 0.6126 GB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003702/0.8541, allocations: 1.329 MB / 0.6139 GB, free: 4.742 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.076e-05/0.8541, allocations: 4 kB / 0.6139 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.8543, allocations: 7.953 kB / 0.6139 GB, free: 4.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005799/0.8549, allocations: 130 kB / 0.614 GB, free: 4.602 MB / 410.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.01336/0.8683, allocations: 4.69 MB / 0.6186 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002888/0.8712, allocations: 1.099 MB / 0.6197 GB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.8729, allocations: 0.7078 MB / 0.6204 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.8731, allocations: 17.31 kB / 0.6204 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.8732, allocations: 44.16 kB / 0.6204 GB, free: 13.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 6.111e-06/0.8732, allocations: 0 / 0.6204 GB, free: 13.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.006807/0.88, allocations: 2.267 MB / 0.6227 GB, free: 11.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.8801, allocations: 90.38 kB / 0.6227 GB, free: 11.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007289/0.8809, allocations: 389 kB / 0.6231 GB, free: 11.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002637/0.8812, allocations: 29.73 kB / 0.6231 GB, free: 11.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.8816, allocations: 465.9 kB / 0.6236 GB, free: 10.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006402/0.8822, allocations: 362.6 kB / 0.6239 GB, free: 10.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-05/0.8823, allocations: 0 / 0.6239 GB, free: 10.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.8825, allocations: 354.8 kB / 0.6243 GB, free: 9.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.8838, allocations: 0.4945 MB / 0.6247 GB, free: 9.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.8854, allocations: 0.6932 MB / 0.6254 GB, free: 8.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.887, allocations: 0.6113 MB / 0.626 GB, free: 7.961 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.8871, allocations: 4 kB / 0.626 GB, free: 7.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004839/0.8919, allocations: 1.619 MB / 0.6276 GB, free: 6.324 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.892, allocations: 8 kB / 0.6276 GB, free: 6.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.892, allocations: 4 kB / 0.6276 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/0.8939, allocations: 384.3 kB / 0.628 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.8959, allocations: 235.6 kB / 0.6282 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.9067, allocations: 5.41 MB / 0.6335 GB, free: 36 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.9082, allocations: 59.89 kB / 0.6335 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.9084, allocations: 51.86 kB / 0.6336 GB, free: 15.93 MB / 442.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.0002869/0.9087, allocations: 120.8 kB / 0.6337 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00434/0.9131, allocations: 1.473 MB / 0.6352 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003666/0.9135, allocations: 71.16 kB / 0.6352 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005109/0.9186, allocations: 1.666 MB / 0.6368 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.9187, allocations: 19.98 kB / 0.6369 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.9187, allocations: 4 kB / 0.6369 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.174e-05/0.9187, allocations: 7.969 kB / 0.6369 GB, free: 12.54 MB / 442.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.009738/0.9285, allocations: 3.175 MB / 0.64 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.9285, allocations: 4 kB / 0.64 GB, free: 9.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.9302, allocations: 188.2 kB / 0.6402 GB, free: 9.047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/0.9319, allocations: 341.3 kB / 0.6405 GB, free: 8.707 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/0.9321, allocations: 7.984 kB / 0.6405 GB, free: 8.699 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009792/0.9419, allocations: 5.128 MB / 0.6455 GB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-05/0.942, allocations: 8 kB / 0.6455 GB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004684/0.9467, allocations: 1.877 MB / 0.6473 GB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/0.9471, allocations: 164.1 kB / 0.6475 GB, free: 1.098 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/0.9474, allocations: 4 kB / 0.6475 GB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.9485, allocations: 27.95 kB / 0.6475 GB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/0.9488, allocations: 93.14 kB / 0.6476 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.9489, allocations: 36 kB / 0.6477 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000535/0.9495, allocations: 298.9 kB / 0.6479 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-07/0.9495, allocations: 3.938 kB / 0.6479 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001921/0.9514, allocations: 367.9 kB / 0.6483 GB, free: 292 kB / 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 () * 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.005471/0.9569, allocations: 3.465 MB / 0.6517 GB, free: 12.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004315/0.9613, allocations: 1.603 MB / 0.6532 GB, free: 11.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/0.9613, allocations: 4.625 kB / 0.6532 GB, free: 11.06 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002652/0.964, allocations: 1 MB / 0.6542 GB, free: 10.04 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.9651, allocations: 87.3 kB / 0.6543 GB, free: 9.953 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006631/0.9718, allocations: 2.054 MB / 0.6563 GB, free: 7.809 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.9732, allocations: 1.188 MB / 0.6575 GB, free: 6.594 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.9742, allocations: 347.3 kB / 0.6578 GB, free: 6.254 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/0.9742, allocations: 0 / 0.6578 GB, free: 6.254 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.171/4.145, allocations: 22.33 MB / 0.6796 GB, free: 15.86 MB / 490.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)