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.001119/0.001119, allocations: 107.5 kB / 16.92 MB, free: 6.145 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.001099/0.001099, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.347/1.347, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1788/0.1788, allocations: 38.04 MB / 329.7 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 62.28 kB / 398.8 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.126, allocations: 58.06 MB / 456.9 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009541/0.1356, allocations: 7.417 MB / 464.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007369/0.143, allocations: 4.44 MB / 468.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.1441, allocations: 19.94 kB / 468.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.1473, allocations: 1.034 MB / 469.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.1513, allocations: 1.269 MB / 471 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1525, allocations: 347 kB / 471.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001995/0.1545, allocations: 1.414 MB / 472.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.1558, allocations: 0.8008 MB / 473.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.1571, allocations: 0.6304 MB / 474.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.1584, allocations: 0.7321 MB / 475 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000242/0.1587, allocations: 84 kB / 475 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002936/0.1616, allocations: 1.528 MB / 476.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006802/0.1623, allocations: 0.6001 MB / 477.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009647/0.1633, allocations: 0.5677 MB / 477.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00311/0.1664, allocations: 1.866 MB / 479.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1664, allocations: 0 / 479.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1664, allocations: 4 kB / 479.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.64e-05/0.1665, allocations: 0 / 479.6 MB, free: 1.203 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.002403/0.1689, allocations: 1.33 MB / 480.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1689, allocations: 11.89 kB / 480.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004183/0.1731, allocations: 0.5457 MB / 481.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.1742, allocations: 0.5443 MB / 482 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.1742, allocations: 66.36 kB / 482.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.1744, allocations: 92.36 kB / 482.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/0.1769, allocations: 1.505 MB / 483.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.1769, allocations: 7.906 kB / 483.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.1771, allocations: 35.98 kB / 483.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.1772, allocations: 98 kB / 483.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/0.1796, allocations: 1.562 MB / 485.4 MB, free: 11.27 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.007742/0.1874, allocations: 4.911 MB / 490.3 MB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.1893, allocations: 1.181 MB / 491.5 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.1903, allocations: 0.7646 MB / 492.3 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-05/0.1904, allocations: 17.06 kB / 492.3 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.1904, allocations: 51.55 kB / 492.3 MB, free: 4.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 2.695e-06/0.1905, allocations: 0 / 492.3 MB, free: 4.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.007619/0.1981, allocations: 3.677 MB / 496 MB, free: 376 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.1982, allocations: 86.11 kB / 496.1 MB, free: 272 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005628/0.1987, allocations: 473.8 kB / 496.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.1988, allocations: 45.69 kB / 496.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.1991, allocations: 427.4 kB / 497 MB, free: 15.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.1995, allocations: 366.6 kB / 497.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/0.1998, allocations: 206.8 kB / 497.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.2, allocations: 386.8 kB / 497.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008364/0.2008, allocations: 0.5374 MB / 498.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.2018, allocations: 0.7539 MB / 499.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.204, allocations: 1.404 MB / 0.4889 GB, free: 11.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.204, allocations: 7.938 kB / 0.4889 GB, free: 11.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003299/0.2073, allocations: 1.802 MB / 0.4907 GB, free: 9.688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.2074, allocations: 11.94 kB / 0.4907 GB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.2074, allocations: 4 kB / 0.4907 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.2085, allocations: 407.1 kB / 0.4911 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000882/0.2094, allocations: 235.6 kB / 0.4913 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007702/0.2171, allocations: 6.07 MB / 0.4972 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.2184, allocations: 59.94 kB / 0.4973 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000269/0.2187, allocations: 51.98 kB / 0.4973 GB, free: 2.547 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.0008776/0.2196, allocations: 357.4 kB / 0.4977 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.2198, allocations: 75.22 kB / 0.4978 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/0.2233, allocations: 1.81 MB / 0.4995 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.2233, allocations: 12 kB / 0.4995 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.112e-05/0.2233, allocations: 11.94 kB / 0.4995 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.658e-05/0.2234, allocations: 3.984 kB / 0.4995 GB, free: 272 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.2534/0.4768, allocations: 3.466 MB / 0.5029 GB, free: 55.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.4768, allocations: 4.438 kB / 0.5029 GB, free: 55.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008027/0.4776, allocations: 185.1 kB / 0.5031 GB, free: 55.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/0.4787, allocations: 358.8 kB / 0.5035 GB, free: 55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.16e-05/0.4788, allocations: 34.78 kB / 0.5035 GB, free: 54.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006778/0.4856, allocations: 5.785 MB / 0.5091 GB, free: 50.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.4856, allocations: 7.812 kB / 0.5091 GB, free: 50.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003234/0.4888, allocations: 1.816 MB / 0.5109 GB, free: 50.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.4891, allocations: 167.1 kB / 0.5111 GB, free: 50.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.4892, allocations: 25.55 kB / 0.5111 GB, free: 50.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005404/0.4898, allocations: 48.31 kB / 0.5111 GB, free: 50.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.49, allocations: 96 kB / 0.5112 GB, free: 50.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.151e-05/0.4901, allocations: 36.86 kB / 0.5113 GB, free: 50.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004335/0.4905, allocations: 325.2 kB / 0.5116 GB, free: 49.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4905, allocations: 3.172 kB / 0.5116 GB, free: 49.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001725/0.4923, allocations: 396.9 kB / 0.512 GB, free: 49.82 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.0001925/0.4925, allocations: 130 kB / 0.5121 GB, free: 49.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004043/0.4965, allocations: 2.135 MB / 0.5142 GB, free: 48.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4966, allocations: 1.188 kB / 0.5142 GB, free: 48.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001602/0.4982, allocations: 1.076 MB / 0.5152 GB, free: 48.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000866/0.499, allocations: 120.4 kB / 0.5153 GB, free: 48.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.5031, allocations: 2.234 MB / 0.5175 GB, free: 47.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009705/0.5041, allocations: 1.172 MB / 0.5187 GB, free: 46.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007101/0.5048, allocations: 242 kB / 0.5189 GB, free: 46.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.5051, allocations: 69.28 kB / 0.519 GB, free: 46.56 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5051, allocations: 0 / 0.519 GB, free: 46.56 MB / 382.1 MB Notification: Performance of Templates: time 0.01845/0.5235, allocations: 12.44 MB / 0.5311 GB, free: 39.18 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)