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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 111.1 kB / 16.62 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 190 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1774/0.1774, allocations: 38.02 MB / 329.4 MB, free: 8.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 57.22 kB / 398.3 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1184, allocations: 58.05 MB / 456.3 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008584/0.127, allocations: 7.646 MB / 464 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005884/0.133, allocations: 4.471 MB / 468.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005262/0.1335, allocations: 15.94 kB / 468.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002426/0.136, allocations: 0.9855 MB / 469.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.139, allocations: 1.203 MB / 470.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009135/0.14, allocations: 307.3 kB / 470.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.1418, allocations: 1.41 MB / 472.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.1432, allocations: 0.8905 MB / 473.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.1444, allocations: 0.6304 MB / 473.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.1456, allocations: 0.8295 MB / 474.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.1458, allocations: 80 kB / 474.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/0.1484, allocations: 1.524 MB / 476.3 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007156/0.1492, allocations: 0.6041 MB / 476.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009/0.1501, allocations: 0.5638 MB / 477.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003627/0.1537, allocations: 1.971 MB / 479.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1537, allocations: 0 / 479.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1537, allocations: 4 kB / 479.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.157e-05/0.1538, allocations: 0 / 479.4 MB, free: 1.184 MB / 350.1 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.002625/0.1564, allocations: 1.338 MB / 480.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1565, allocations: 11.89 kB / 480.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004188/0.1607, allocations: 0.538 MB / 481.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.1618, allocations: 0.552 MB / 481.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-05/0.1618, allocations: 66.36 kB / 482 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/0.1621, allocations: 92.27 kB / 482 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/0.1648, allocations: 1.501 MB / 483.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.1649, allocations: 4 kB / 483.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.165, allocations: 35.98 kB / 483.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/0.1651, allocations: 102 kB / 483.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.1678, allocations: 1.554 MB / 485.2 MB, free: 11.25 MB / 366.1 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.008084/0.1759, allocations: 4.907 MB / 490.1 MB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.1778, allocations: 1.185 MB / 491.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.1788, allocations: 0.7662 MB / 492.1 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.208e-05/0.1789, allocations: 21 kB / 492.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.179, allocations: 43.56 kB / 492.2 MB, free: 4.078 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 3.256e-06/0.179, allocations: 4 kB / 492.2 MB, free: 4.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.008179/0.1871, allocations: 3.681 MB / 495.8 MB, free: 352 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.1872, allocations: 86.11 kB / 495.9 MB, free: 248 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.1879, allocations: 477.8 kB / 496.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/0.188, allocations: 41.7 kB / 496.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.1883, allocations: 423.4 kB / 496.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003882/0.1887, allocations: 374.6 kB / 497.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/0.189, allocations: 210.8 kB / 497.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1892, allocations: 382.8 kB / 497.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008788/0.1901, allocations: 0.5296 MB / 498.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.1911, allocations: 0.7617 MB / 499.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.1932, allocations: 1.408 MB / 0.4888 GB, free: 11.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/0.1932, allocations: 7.938 kB / 0.4888 GB, free: 11.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003155/0.1963, allocations: 1.794 MB / 0.4905 GB, free: 9.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.1964, allocations: 8 kB / 0.4905 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/0.1964, allocations: 11.98 kB / 0.4905 GB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.1976, allocations: 413.7 kB / 0.4909 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000938/0.1986, allocations: 235.6 kB / 0.4912 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008234/0.2068, allocations: 6.063 MB / 0.4971 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008614/0.2077, allocations: 67.92 kB / 0.4971 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.2079, allocations: 43.98 kB / 0.4972 GB, free: 2.516 MB / 382.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007075/0.2086, allocations: 365.4 kB / 0.4975 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.2088, allocations: 71.16 kB / 0.4976 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/0.2121, allocations: 1.81 MB / 0.4994 GB, free: 264 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.2121, allocations: 12 kB / 0.4994 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.2121, allocations: 7.938 kB / 0.4994 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.2121, allocations: 11.97 kB / 0.4994 GB, free: 232 kB / 382.1 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.275/0.4871, allocations: 3.455 MB / 0.5028 GB, free: 55.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.4872, allocations: 5.125 kB / 0.5028 GB, free: 55.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008113/0.488, allocations: 194.1 kB / 0.503 GB, free: 55.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.489, allocations: 357.3 kB / 0.5033 GB, free: 55.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/0.4891, allocations: 26.06 kB / 0.5033 GB, free: 55.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007017/0.4962, allocations: 5.785 MB / 0.509 GB, free: 51.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/0.4962, allocations: 10.91 kB / 0.509 GB, free: 51.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004134/0.5004, allocations: 1.817 MB / 0.5108 GB, free: 50.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004731/0.5009, allocations: 165.4 kB / 0.5109 GB, free: 50.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.501, allocations: 28.06 kB / 0.5109 GB, free: 50.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.5016, allocations: 51.84 kB / 0.511 GB, free: 50.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.5018, allocations: 94.03 kB / 0.5111 GB, free: 50.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/0.5019, allocations: 40.72 kB / 0.5111 GB, free: 50.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004827/0.5024, allocations: 323.3 kB / 0.5114 GB, free: 50.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5024, allocations: 0 / 0.5114 GB, free: 50.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0016/0.504, allocations: 396.7 kB / 0.5118 GB, free: 50.07 MB / 382.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002065/0.5042, allocations: 130.5 kB / 0.5119 GB, free: 49.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004111/0.5084, allocations: 2.131 MB / 0.514 GB, free: 49.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.5084, allocations: 1.781 kB / 0.514 GB, free: 49.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.5101, allocations: 1.076 MB / 0.5151 GB, free: 48.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009528/0.5111, allocations: 126.8 kB / 0.5152 GB, free: 48.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/0.5155, allocations: 2.669 MB / 0.5178 GB, free: 47.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009261/0.5164, allocations: 1.175 MB / 0.5189 GB, free: 46.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006848/0.5171, allocations: 239.3 kB / 0.5192 GB, free: 46.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.5174, allocations: 61.56 kB / 0.5192 GB, free: 46.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5174, allocations: 0 / 0.5192 GB, free: 46.36 MB / 382.1 MB Notification: Performance of Templates: time 0.01799/0.5354, allocations: 12.49 MB / 0.5314 GB, free: 38.77 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (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 & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)