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: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 177.2 kB / 15.78 MB, free: 6.352 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.655/1.655, allocations: 205.4 MB / 221.9 MB, free: 13.75 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.0008207/0.0008207, allocations: 90.31 kB / 270.3 MB, free: 13.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1697/0.1697, allocations: 38.06 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003703, allocations: 16 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.114, allocations: 56.33 MB / 479.1 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.00714/0.1212, allocations: 6.771 MB / 485.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005271/0.1266, allocations: 4.218 MB / 490 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/0.1269, allocations: 15.94 kB / 490.1 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003974/0.1274, allocations: 139 kB / 490.2 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.1296, allocations: 0.9537 MB / 491.2 MB, free: 5.887 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007378/0.1304, allocations: 267.3 kB / 491.4 MB, free: 5.625 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001889/0.1323, allocations: 1.909 MB / 493.3 MB, free: 3.711 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.1346, allocations: 1.268 MB / 494.6 MB, free: 2.418 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.1356, allocations: 0.4938 MB / 495.1 MB, free: 1.922 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.1368, allocations: 0.7401 MB / 495.8 MB, free: 1.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.1369, allocations: 40 kB / 495.9 MB, free: 1.141 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.1389, allocations: 0.9236 MB / 496.8 MB, free: 220 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006127/0.1396, allocations: 0.5729 MB / 497.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004812/0.14, allocations: 213.2 kB / 497.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.1421, allocations: 1.36 MB / 498.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1421, allocations: 0 / 498.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1421, allocations: 0 / 498.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.124e-05/0.1422, allocations: 0 / 498.9 MB, free: 14.06 MB / 346.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.002474/0.1447, allocations: 1.17 MB / 0.4884 GB, free: 12.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1447, allocations: 8.031 kB / 0.4884 GB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003925/0.1487, allocations: 0.5449 MB / 0.4889 GB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.1498, allocations: 0.5355 MB / 0.4894 GB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/0.1499, allocations: 73.91 kB / 0.4895 GB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002763/0.1502, allocations: 84 kB / 0.4896 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.153, allocations: 1.489 MB / 0.491 GB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.284e-05/0.1531, allocations: 3.906 kB / 0.491 GB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.1532, allocations: 47.88 kB / 0.4911 GB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/0.1533, allocations: 102 kB / 0.4912 GB, free: 9.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.156, allocations: 1.534 MB / 0.4927 GB, free: 8.332 MB / 346.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.0084/0.1644, allocations: 4.95 MB / 0.4975 GB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.1662, allocations: 1.164 MB / 0.4987 GB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009942/0.1672, allocations: 0.7617 MB / 0.4994 GB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.231e-05/0.1673, allocations: 21.41 kB / 0.4994 GB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.1673, allocations: 55.5 kB / 0.4995 GB, free: 1.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 3.016e-06/0.1673, allocations: 0 / 0.4995 GB, free: 1.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=108): time 0.007489/0.1748, allocations: 3.654 MB / 0.503 GB, free: 13.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.1749, allocations: 86.11 kB / 0.5031 GB, free: 13.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.1755, allocations: 477.6 kB / 0.5036 GB, free: 12.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.424e-05/0.1755, allocations: 41.7 kB / 0.5036 GB, free: 12.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.1758, allocations: 423.5 kB / 0.504 GB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003339/0.1762, allocations: 370.6 kB / 0.5044 GB, free: 12.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.875e-05/0.1763, allocations: 24 kB / 0.5044 GB, free: 12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1765, allocations: 378.8 kB / 0.5048 GB, free: 11.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007991/0.1773, allocations: 0.5335 MB / 0.5053 GB, free: 11.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009861/0.1783, allocations: 0.7423 MB / 0.506 GB, free: 10.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009885/0.1793, allocations: 0.6549 MB / 0.5067 GB, free: 9.609 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.1793, allocations: 4 kB / 0.5067 GB, free: 9.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003064/0.1823, allocations: 1.798 MB / 0.5084 GB, free: 7.797 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.1824, allocations: 8 kB / 0.5084 GB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.1824, allocations: 8 kB / 0.5084 GB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.1835, allocations: 413.4 kB / 0.5088 GB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008794/0.1844, allocations: 235.6 kB / 0.509 GB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00643/0.1909, allocations: 5.602 MB / 0.5145 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/0.1916, allocations: 71.81 kB / 0.5146 GB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.871e-05/0.1917, allocations: 48.05 kB / 0.5146 GB, free: 1.125 MB / 362.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.0005902/0.1923, allocations: 357.4 kB / 0.515 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.1924, allocations: 75.16 kB / 0.515 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2083/0.4007, allocations: 1.8 MB / 0.5168 GB, free: 51.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.4008, allocations: 17.16 kB / 0.5168 GB, free: 51.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.4008, allocations: 5.812 kB / 0.5168 GB, free: 51.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.4008, allocations: 8.484 kB / 0.5168 GB, free: 51.31 MB / 362.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.006164/0.407, allocations: 3.454 MB / 0.5202 GB, free: 50.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.407, allocations: 7.938 kB / 0.5202 GB, free: 50.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007421/0.4078, allocations: 185.1 kB / 0.5204 GB, free: 50.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.4088, allocations: 348.2 kB / 0.5207 GB, free: 50.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.137e-05/0.4089, allocations: 28.42 kB / 0.5207 GB, free: 50.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006085/0.415, allocations: 5.343 MB / 0.526 GB, free: 46.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.415, allocations: 8.188 kB / 0.526 GB, free: 46.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/0.4184, allocations: 1.813 MB / 0.5277 GB, free: 45.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.4187, allocations: 156.8 kB / 0.5279 GB, free: 45.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.4188, allocations: 30 kB / 0.5279 GB, free: 45.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/0.4193, allocations: 56.8 kB / 0.528 GB, free: 45.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.4195, allocations: 89.89 kB / 0.5281 GB, free: 45.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.167e-05/0.4196, allocations: 40.88 kB / 0.5281 GB, free: 45.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004202/0.42, allocations: 323.2 kB / 0.5284 GB, free: 45.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.42, allocations: 1.438 kB / 0.5284 GB, free: 45.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001385/0.4214, allocations: 396.6 kB / 0.5288 GB, free: 45.3 MB / 362.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.0001771/0.4216, allocations: 133.3 kB / 0.5289 GB, free: 45.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002816/0.4244, allocations: 1.748 MB / 0.5306 GB, free: 44.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4245, allocations: 0 / 0.5306 GB, free: 44.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.426, allocations: 1.074 MB / 0.5317 GB, free: 43.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007788/0.4268, allocations: 124.2 kB / 0.5318 GB, free: 43.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.4312, allocations: 2.669 MB / 0.5344 GB, free: 42.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000999/0.4322, allocations: 1.18 MB / 0.5355 GB, free: 41.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.4326, allocations: 76.34 kB / 0.5356 GB, free: 41.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/0.4326, allocations: 0 / 0.5356 GB, free: 41.64 MB / 362.7 MB Notification: Performance of Templates: time 0.01826/0.4508, allocations: 18.04 MB / 0.5532 GB, free: 26.61 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (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 & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)