Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001502/0.001505, allocations: 186 kB / 16.38 MB, free: 5.598 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.818/1.818, allocations: 194.5 MB / 211.6 MB, free: 7.52 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001988/0.001988, allocations: 124.5 kB / 256.9 MB, free: 10.13 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2414/0.2414, allocations: 38.01 MB / 340.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004739, allocations: 15.72 kB / 403.8 MB, free: 55.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06857/0.06907, allocations: 53.22 MB / 457 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006053/0.07517, allocations: 6.475 MB / 463.5 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005401/0.0806, allocations: 4.023 MB / 467.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003305/0.08097, allocations: 15.94 kB / 467.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.08138, allocations: 147.2 kB / 467.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.08326, allocations: 0.6385 MB / 468.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007567/0.08404, allocations: 235.4 kB / 468.5 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008207/0.08488, allocations: 0.577 MB / 469.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002721/0.08761, allocations: 1.185 MB / 470.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007076/0.08834, allocations: 378.6 kB / 470.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005524/0.08892, allocations: 346.9 kB / 471 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.024e-05/0.08903, allocations: 32 kB / 471 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.09086, allocations: 0.6938 MB / 471.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004819/0.09136, allocations: 395.2 kB / 472.1 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.09161, allocations: 169.3 kB / 472.3 MB, free: 11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.09318, allocations: 1.037 MB / 473.3 MB, free: 9.957 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.54e-06/0.0932, allocations: 0 / 473.3 MB, free: 9.957 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.173e-06/0.09321, allocations: 0 / 473.3 MB, free: 9.957 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.09323, allocations: 0 / 473.3 MB, free: 9.957 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001707/0.09495, allocations: 0.9912 MB / 474.3 MB, free: 8.914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.095, allocations: 12.02 kB / 474.3 MB, free: 8.902 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004213/0.09923, allocations: 442.4 kB / 474.8 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008835/0.1001, allocations: 461.6 kB / 475.2 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.729e-05/0.1002, allocations: 61.98 kB / 475.3 MB, free: 7.918 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.1004, allocations: 71.94 kB / 475.3 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.1029, allocations: 1.16 MB / 476.5 MB, free: 6.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.103, allocations: 0 / 476.5 MB, free: 6.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.1031, allocations: 31.98 kB / 476.5 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/0.1032, allocations: 69.95 kB / 476.6 MB, free: 6.562 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/0.1059, allocations: 1.241 MB / 477.8 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007425/0.1134, allocations: 3.523 MB / 481.4 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.1156, allocations: 1.061 MB / 482.4 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.821e-05/0.1157, allocations: 20.98 kB / 482.4 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.1158, allocations: 43.56 kB / 482.5 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 4.533e-06/0.1158, allocations: 4 kB / 482.5 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of matching and sorting (n=92): time 0.008593/0.1244, allocations: 3.057 MB / 485.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.1245, allocations: 98.22 kB / 485.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.125, allocations: 357.6 kB / 486 MB, free: 12.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.213e-05/0.1251, allocations: 41.7 kB / 486 MB, free: 12.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.1254, allocations: 316.1 kB / 486.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.1258, allocations: 311.4 kB / 486.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/0.1259, allocations: 12 kB / 486.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.1261, allocations: 366.8 kB / 487 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009654/0.1271, allocations: 469.7 kB / 487.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.1282, allocations: 0.5656 MB / 488 MB, free: 10.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.1293, allocations: 0.5379 MB / 488.6 MB, free: 10.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.829e-06/0.1294, allocations: 3.938 kB / 488.6 MB, free: 10.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003408/0.1328, allocations: 1.469 MB / 490.1 MB, free: 8.867 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.1328, allocations: 8 kB / 490.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.601e-06/0.1328, allocations: 0 / 490.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.1341, allocations: 336.8 kB / 490.4 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009235/0.135, allocations: 183.7 kB / 490.6 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007337/0.1424, allocations: 3.962 MB / 494.5 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000655/0.1431, allocations: 51.94 kB / 494.6 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.1432, allocations: 31.98 kB / 494.6 MB, free: 4.145 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000572/0.1438, allocations: 297.3 kB / 494.9 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.144, allocations: 59.3 kB / 495 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/0.1475, allocations: 1.563 MB / 496.5 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.1476, allocations: 12 kB / 496.5 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.543e-06/0.1476, allocations: 4 kB / 496.5 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/0.1476, allocations: 7.969 kB / 496.5 MB, free: 2.184 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 postOpt removeSimpleEquations (simulation): time 0.006754/0.1544, allocations: 3.024 MB / 499.6 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.1544, allocations: 4.438 kB / 499.6 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008575/0.1553, allocations: 175.8 kB / 499.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.1564, allocations: 276.6 kB / 0.4883 GB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.254e-05/0.1565, allocations: 35.94 kB / 0.4883 GB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006771/0.1633, allocations: 3.69 MB / 0.4919 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.065e-06/0.1634, allocations: 7.938 kB / 0.4919 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/0.1669, allocations: 1.762 MB / 0.4937 GB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.1671, allocations: 156.3 kB / 0.4938 GB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.1673, allocations: 24 kB / 0.4938 GB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005623/0.1679, allocations: 35.97 kB / 0.4939 GB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.1681, allocations: 84.78 kB / 0.494 GB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.1682, allocations: 35.98 kB / 0.494 GB, free: 8.438 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003896/0.1686, allocations: 259.1 kB / 0.4942 GB, free: 8.184 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.1686, allocations: 0 / 0.4942 GB, free: 8.184 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001231/0.1698, allocations: 308 kB / 0.4945 GB, free: 7.883 MB / 346.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 (82): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000222/0.1701, allocations: 131 kB / 0.4947 GB, free: 7.746 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00286/0.1729, allocations: 1.378 MB / 0.496 GB, free: 6.355 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.173, allocations: 0 / 0.496 GB, free: 6.355 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.1747, allocations: 0.844 MB / 0.4968 GB, free: 5.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006411/0.1753, allocations: 90.34 kB / 0.4969 GB, free: 5.414 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.1793, allocations: 2.085 MB / 0.4989 GB, free: 3.258 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.1804, allocations: 1.089 MB / 0.5 GB, free: 2.137 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006766/0.1811, allocations: 176.6 kB / 0.5002 GB, free: 1.965 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.1814, allocations: 67.34 kB / 0.5002 GB, free: 1.898 MB / 346.7 MB Notification: Performance of SimCode: time 1.525e-06/0.1814, allocations: 0 / 0.5002 GB, free: 1.898 MB / 346.7 MB Notification: Performance of Templates: time 0.02262/0.204, allocations: 9.055 MB / 0.5091 GB, free: 8.852 MB / 362.7 MB