Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001381/0.001381, allocations: 184.5 kB / 16.38 MB, free: 5.621 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.79/1.79, allocations: 194.5 MB / 211.6 MB, free: 7.523 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.001852/0.001852, allocations: 124.5 kB / 256.9 MB, free: 10.14 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.2398/0.2398, allocations: 38.02 MB / 340.1 MB, free: 13.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004454, allocations: 14.69 kB / 403.8 MB, free: 55.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06825/0.06872, allocations: 53.22 MB / 457 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006025/0.07479, allocations: 6.51 MB / 463.5 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00507/0.07988, allocations: 4.062 MB / 467.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.08018, allocations: 15.94 kB / 467.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003576/0.08056, allocations: 139.2 kB / 467.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.0823, allocations: 0.6307 MB / 468.4 MB, free: 14.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007171/0.08304, allocations: 243.3 kB / 468.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008122/0.08387, allocations: 0.577 MB / 469.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002642/0.08652, allocations: 1.184 MB / 470.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.0872, allocations: 386.6 kB / 470.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005186/0.08773, allocations: 338.9 kB / 471.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.313e-05/0.08783, allocations: 32 kB / 471.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.08954, allocations: 0.6977 MB / 471.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004559/0.09001, allocations: 395.2 kB / 472.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.09025, allocations: 173.3 kB / 472.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.09177, allocations: 1.037 MB / 473.4 MB, free: 9.875 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.608e-06/0.09179, allocations: 0 / 473.4 MB, free: 9.875 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.0918, allocations: 0 / 473.4 MB, free: 9.875 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.09182, allocations: 0 / 473.4 MB, free: 9.875 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.001708/0.09354, allocations: 0.9951 MB / 474.4 MB, free: 8.828 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.09359, allocations: 12.02 kB / 474.4 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00429/0.09789, allocations: 430.5 kB / 474.8 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008981/0.09881, allocations: 465.6 kB / 475.3 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.0989, allocations: 53.98 kB / 475.3 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.09909, allocations: 79.88 kB / 475.4 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.1016, allocations: 1.164 MB / 476.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.1016, allocations: 0 / 476.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.1017, allocations: 31.98 kB / 476.6 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.1019, allocations: 73.89 kB / 476.7 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.1045, allocations: 1.233 MB / 477.9 MB, free: 5.238 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006888/0.1114, allocations: 3.519 MB / 481.4 MB, free: 1.621 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.1135, allocations: 1.069 MB / 482.5 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.882e-05/0.1136, allocations: 21 kB / 482.5 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.1137, allocations: 43.56 kB / 482.6 MB, free: 480 kB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 3.617e-06/0.1137, allocations: 0 / 482.6 MB, free: 480 kB / 314.7 MB Notification: Performance of matching and sorting (n=92): time 0.007966/0.1217, allocations: 3.061 MB / 485.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.1218, allocations: 90.11 kB / 485.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.1222, allocations: 353.6 kB / 486.1 MB, free: 12.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.202e-05/0.1223, allocations: 41.7 kB / 486.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.1226, allocations: 316.1 kB / 486.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/0.123, allocations: 319.5 kB / 486.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.193e-05/0.1231, allocations: 16 kB / 486.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1233, allocations: 370.8 kB / 487.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009283/0.1242, allocations: 461.7 kB / 487.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009694/0.1252, allocations: 0.5656 MB / 488.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000996/0.1262, allocations: 0.5379 MB / 488.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.099e-06/0.1262, allocations: 3.938 kB / 488.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003074/0.1293, allocations: 1.473 MB / 490.1 MB, free: 8.785 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1293, allocations: 4 kB / 490.1 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.1294, allocations: 11.98 kB / 490.1 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.1305, allocations: 340.8 kB / 490.5 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009337/0.1314, allocations: 179.7 kB / 490.6 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006656/0.1381, allocations: 3.95 MB / 494.6 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.1386, allocations: 47.89 kB / 494.6 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-05/0.1387, allocations: 39.98 kB / 494.7 MB, free: 4.062 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.0004832/0.1392, allocations: 297.4 kB / 495 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.1394, allocations: 63.3 kB / 495 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/0.1426, allocations: 1.559 MB / 496.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.1427, allocations: 12 kB / 496.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.1427, allocations: 8 kB / 496.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.1427, allocations: 3.984 kB / 496.6 MB, free: 2.102 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.0061/0.1488, allocations: 3.024 MB / 499.6 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.1488, allocations: 4 kB / 499.6 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007552/0.1496, allocations: 163.8 kB / 499.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009515/0.1506, allocations: 289 kB / 0.4884 GB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.819e-05/0.1507, allocations: 27.94 kB / 0.4884 GB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00613/0.1568, allocations: 3.702 MB / 0.492 GB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.455e-06/0.1568, allocations: 12.06 kB / 0.492 GB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/0.1599, allocations: 1.758 MB / 0.4937 GB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.1601, allocations: 144.3 kB / 0.4939 GB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.1603, allocations: 24 kB / 0.4939 GB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004849/0.1608, allocations: 43.95 kB / 0.4939 GB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.1609, allocations: 84.78 kB / 0.494 GB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.83e-05/0.1611, allocations: 35.98 kB / 0.4941 GB, free: 8.355 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003617/0.1614, allocations: 255.2 kB / 0.4943 GB, free: 8.105 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.56e-07/0.1615, allocations: 0 / 0.4943 GB, free: 8.105 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001058/0.1625, allocations: 308 kB / 0.4946 GB, free: 7.805 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.0001839/0.1627, allocations: 127 kB / 0.4947 GB, free: 7.672 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.1655, allocations: 1.382 MB / 0.4961 GB, free: 6.277 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.875e-06/0.1655, allocations: 8.188 kB / 0.4961 GB, free: 6.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.1672, allocations: 0.8321 MB / 0.4969 GB, free: 5.426 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.1678, allocations: 94.41 kB / 0.497 GB, free: 5.336 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.1716, allocations: 2.082 MB / 0.499 GB, free: 3.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.1727, allocations: 1.085 MB / 0.5001 GB, free: 2.062 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006401/0.1733, allocations: 180.6 kB / 0.5002 GB, free: 1.887 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.1736, allocations: 71.34 kB / 0.5003 GB, free: 1.816 MB / 346.7 MB Notification: Performance of SimCode: time 1.296e-06/0.1736, allocations: 0 / 0.5003 GB, free: 1.816 MB / 346.7 MB Notification: Performance of Templates: time 0.02206/0.1957, allocations: 9.05 MB / 0.5091 GB, free: 8.773 MB / 362.7 MB