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.0009322/0.0009322, allocations: 173.9 kB / 16.07 MB, free: 5.723 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.23/1.23, allocations: 205.4 MB / 222.2 MB, free: 9.023 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.0007039/0.000704, allocations: 88.73 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1714/0.1714, allocations: 38.07 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 15.98 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2226, allocations: 56.32 MB / 479.6 MB, free: 9.219 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005942/0.2286, allocations: 6.838 MB / 486.5 MB, free: 4.629 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004822/0.2334, allocations: 4.23 MB / 490.7 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000586/0.234, allocations: 15.47 kB / 490.7 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.2346, allocations: 134.5 kB / 490.8 MB, free: 1.586 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.2375, allocations: 1.155 MB / 492 MB, free: 1.059 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008799/0.2384, allocations: 301.6 kB / 492.3 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002299/0.2407, allocations: 1.912 MB / 494.2 MB, free: 320 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/0.2432, allocations: 1.389 MB / 495.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.2444, allocations: 497.8 kB / 496.1 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.2458, allocations: 0.7445 MB / 496.8 MB, free: 15.15 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.2459, allocations: 39.66 kB / 496.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00343/0.2494, allocations: 1.706 MB / 498.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008093/0.2502, allocations: 0.5749 MB / 499.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008906/0.2511, allocations: 0.5036 MB / 499.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.2535, allocations: 1.403 MB / 0.4893 GB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2535, allocations: 1.156 kB / 0.4893 GB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2535, allocations: 0 / 0.4893 GB, free: 13.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.2536, allocations: 4 kB / 0.4893 GB, free: 13.14 MB / 330.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.001897/0.2555, allocations: 1.161 MB / 0.4904 GB, free: 12.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.2555, allocations: 13.56 kB / 0.4905 GB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003633/0.2592, allocations: 0.5437 MB / 0.491 GB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009356/0.2601, allocations: 0.5466 MB / 0.4915 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.919e-05/0.2602, allocations: 69.53 kB / 0.4916 GB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.2604, allocations: 85.03 kB / 0.4917 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.2627, allocations: 1.498 MB / 0.4931 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.2627, allocations: 6.781 kB / 0.4931 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.2629, allocations: 35.17 kB / 0.4932 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/0.263, allocations: 102.2 kB / 0.4933 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.2655, allocations: 1.534 MB / 0.4948 GB, free: 9.797 MB / 330.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.007587/0.2731, allocations: 4.961 MB / 0.4996 GB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.2748, allocations: 1.176 MB / 0.5008 GB, free: 4.855 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.2759, allocations: 0.765 MB / 0.5015 GB, free: 4.086 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.085e-05/0.276, allocations: 21.05 kB / 0.5015 GB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.276, allocations: 47.5 kB / 0.5016 GB, free: 4.012 MB / 330.7 MB Notification: Performance of pre-optimization done (n=107): time 2.765e-06/0.276, allocations: 0 / 0.5016 GB, free: 4.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=108): time 0.007464/0.2835, allocations: 3.685 MB / 0.5052 GB, free: 284 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.2835, allocations: 90.05 kB / 0.5053 GB, free: 176 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.2841, allocations: 469.8 kB / 0.5057 GB, free: 15.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-05/0.2842, allocations: 45.7 kB / 0.5057 GB, free: 15.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.2844, allocations: 423.4 kB / 0.5062 GB, free: 15.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/0.2848, allocations: 374.5 kB / 0.5065 GB, free: 14.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.2848, allocations: 24.03 kB / 0.5065 GB, free: 14.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.285, allocations: 386.8 kB / 0.5069 GB, free: 14.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008006/0.2858, allocations: 0.5296 MB / 0.5074 GB, free: 13.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009286/0.2867, allocations: 0.7423 MB / 0.5081 GB, free: 13.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.2886, allocations: 1.396 MB / 0.5095 GB, free: 11.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2886, allocations: 3.938 kB / 0.5095 GB, free: 11.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002928/0.2916, allocations: 1.798 MB / 0.5113 GB, free: 9.809 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.2916, allocations: 10.03 kB / 0.5113 GB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.2916, allocations: 4 kB / 0.5113 GB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.2927, allocations: 409.6 kB / 0.5117 GB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/0.2936, allocations: 235.6 kB / 0.5119 GB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006446/0.3, allocations: 5.602 MB / 0.5174 GB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007938/0.3008, allocations: 67.98 kB / 0.5174 GB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.301, allocations: 43.98 kB / 0.5175 GB, free: 3.152 MB / 346.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.0005563/0.3016, allocations: 361.4 kB / 0.5178 GB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.3017, allocations: 75.06 kB / 0.5179 GB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.3048, allocations: 1.81 MB / 0.5197 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/0.3048, allocations: 19.98 kB / 0.5197 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3048, allocations: 4 kB / 0.5197 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.3048, allocations: 3.984 kB / 0.5197 GB, free: 0.8633 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 postOpt removeSimpleEquations (simulation): time 0.005694/0.3105, allocations: 3.458 MB / 0.5231 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3106, allocations: 4 kB / 0.5231 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007501/0.3113, allocations: 191.7 kB / 0.5232 GB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009352/0.3123, allocations: 349.8 kB / 0.5236 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.328e-05/0.3124, allocations: 28 kB / 0.5236 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006081/0.3185, allocations: 5.34 MB / 0.5288 GB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3185, allocations: 4 kB / 0.5288 GB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/0.3214, allocations: 1.827 MB / 0.5306 GB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.3216, allocations: 160.1 kB / 0.5308 GB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.3218, allocations: 27.98 kB / 0.5308 GB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005103/0.3223, allocations: 55.89 kB / 0.5308 GB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.3225, allocations: 88.81 kB / 0.5309 GB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.426e-05/0.3225, allocations: 36 kB / 0.531 GB, free: 4.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003732/0.3229, allocations: 327.1 kB / 0.5313 GB, free: 4.484 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3229, allocations: 0 / 0.5313 GB, free: 4.484 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001198/0.3241, allocations: 403.9 kB / 0.5317 GB, free: 4.09 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.0001868/0.3243, allocations: 123.1 kB / 0.5318 GB, free: 3.961 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002614/0.327, allocations: 1.744 MB / 0.5335 GB, free: 2.195 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.84e-06/0.327, allocations: 0 / 0.5335 GB, free: 2.195 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.3286, allocations: 1.085 MB / 0.5345 GB, free: 1.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.3296, allocations: 125.8 kB / 0.5347 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.3333, allocations: 2.678 MB / 0.5373 GB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008174/0.3341, allocations: 1.174 MB / 0.5384 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.3344, allocations: 71.41 kB / 0.5385 GB, free: 12.93 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3344, allocations: 0 / 0.5385 GB, free: 12.93 MB / 378.7 MB Notification: Performance of Templates: time 0.02115/0.3556, allocations: 17.98 MB / 0.5561 GB, free: 10.9 MB / 394.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)