Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001404/0.001407, allocations: 187.3 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.857/1.857, allocations: 194.5 MB / 211.6 MB, free: 7.543 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.001871/0.001871, allocations: 120.5 kB / 256.9 MB, free: 10.16 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.2397/0.2397, allocations: 38.03 MB / 340.1 MB, free: 13.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004559, allocations: 15.56 kB / 403.8 MB, free: 55.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07012/0.0706, allocations: 53.22 MB / 457 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.006181/0.07683, allocations: 6.603 MB / 463.6 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005124/0.08199, allocations: 3.821 MB / 467.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.08241, allocations: 15.94 kB / 467.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.08282, allocations: 143.2 kB / 467.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.08449, allocations: 0.549 MB / 468.1 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007337/0.08524, allocations: 231.4 kB / 468.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007902/0.08605, allocations: 0.5536 MB / 468.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005286/0.0866, allocations: 312.1 kB / 469.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005919/0.08721, allocations: 362.6 kB / 469.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.08766, allocations: 286.8 kB / 469.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.02e-05/0.08774, allocations: 20 kB / 469.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.08879, allocations: 435 kB / 470.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.08909, allocations: 227.5 kB / 470.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.08925, allocations: 109.5 kB / 470.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009468/0.09021, allocations: 0.5767 MB / 471.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.602e-06/0.09023, allocations: 7.938 kB / 471.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.353e-06/0.09024, allocations: 0 / 471.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.09027, allocations: 0 / 471.2 MB, free: 12.12 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001185/0.09146, allocations: 0.7335 MB / 471.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.09151, allocations: 12.02 kB / 472 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.09354, allocations: 135.3 kB / 472.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.09406, allocations: 313.3 kB / 472.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.09412, allocations: 36.98 kB / 472.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.09421, allocations: 39.98 kB / 472.5 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.0953, allocations: 0.5787 MB / 473.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.09534, allocations: 0 / 473.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.166e-05/0.0954, allocations: 20 kB / 473.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.683e-05/0.09549, allocations: 36.62 kB / 473.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008002/0.09631, allocations: 386.1 kB / 473.5 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.09967, allocations: 2.603 MB / 476.1 MB, free: 6.973 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000892/0.1006, allocations: 438.1 kB / 476.5 MB, free: 6.523 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1006, allocations: 4.125 kB / 476.5 MB, free: 6.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.1007, allocations: 42.5 kB / 476.6 MB, free: 6.469 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.78e-06/0.1007, allocations: 0 / 476.6 MB, free: 6.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.002203/0.1029, allocations: 0.7529 MB / 477.3 MB, free: 5.688 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/0.103, allocations: 107.1 kB / 477.4 MB, free: 5.559 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004418/0.1035, allocations: 324.5 kB / 477.7 MB, free: 5.227 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.1035, allocations: 29.7 kB / 477.8 MB, free: 5.191 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.1037, allocations: 247.8 kB / 478 MB, free: 4.945 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.1039, allocations: 114.4 kB / 478.1 MB, free: 4.832 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.1039, allocations: 15.94 kB / 478.1 MB, free: 4.816 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.1041, allocations: 346.8 kB / 478.5 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.1044, allocations: 128.8 kB / 478.6 MB, free: 4.344 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.1048, allocations: 276 kB / 478.9 MB, free: 4.004 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.1052, allocations: 181.2 kB / 479 MB, free: 3.828 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1052, allocations: 0 / 479 MB, free: 3.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001205/0.1065, allocations: 0.5539 MB / 479.6 MB, free: 3.266 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1065, allocations: 12.09 kB / 479.6 MB, free: 3.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.1065, allocations: 4 kB / 479.6 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004384/0.107, allocations: 116.8 kB / 479.7 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.1073, allocations: 75.91 kB / 479.8 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/0.1109, allocations: 2.386 MB / 482.2 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.1112, allocations: 47.44 kB / 482.2 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.1112, allocations: 20 kB / 482.3 MB, free: 468 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003064/0.1116, allocations: 201.4 kB / 482.5 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.1117, allocations: 35.62 kB / 482.5 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.821e-05/0.1118, allocations: 51.95 kB / 482.5 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.511e-06/0.1118, allocations: 8 kB / 482.5 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.1118, allocations: 4 kB / 482.5 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.045e-06/0.1119, allocations: 3.984 kB / 482.6 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.1137, allocations: 0.9338 MB / 483.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.418e-06/0.1137, allocations: 4 kB / 483.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.1139, allocations: 35.92 kB / 483.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003456/0.1142, allocations: 104.8 kB / 483.6 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.1143, allocations: 8 kB / 483.6 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003409/0.1177, allocations: 2.383 MB / 486 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1177, allocations: 0 / 486 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.1188, allocations: 0.6611 MB / 486.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.119, allocations: 124.6 kB / 486.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.119, allocations: 8 kB / 486.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.1193, allocations: 11.94 kB / 486.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.1194, allocations: 27.95 kB / 486.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.1194, allocations: 4 kB / 486.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003109/0.1197, allocations: 223 kB / 487.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.1197, allocations: 0 / 487.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008742/0.1206, allocations: 151.8 kB / 487.2 MB, free: 11.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001483/0.1208, allocations: 116.2 kB / 487.3 MB, free: 11.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.1219, allocations: 0.5113 MB / 487.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.1219, allocations: 0 / 487.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006332/0.1226, allocations: 338.6 kB / 488.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.1231, allocations: 58.5 kB / 488.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.1247, allocations: 0.9592 MB / 489.2 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006692/0.1254, allocations: 0.8941 MB / 490.1 MB, free: 8.234 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.1257, allocations: 70.91 kB / 490.2 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.02e-05/0.1258, allocations: 23.44 kB / 490.2 MB, free: 8.141 MB / 330.7 MB Notification: Performance of SimCode: time 1.44e-06/0.1258, allocations: 3.938 kB / 490.2 MB, free: 8.137 MB / 330.7 MB Notification: Performance of Templates: time 0.01002/0.1358, allocations: 3.375 MB / 493.6 MB, free: 4.762 MB / 330.7 MB