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.002427/0.002432, allocations: 357.2 kB / 16.57 MB, free: 5.566 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 3.466/3.466, allocations: 388.9 MB / 406.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003485/0.003484, allocations: 223.8 kB / 451.6 MB, free: 14.53 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6587/0.6587, allocations: 76.01 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004788, allocations: 8 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06661/0.06711, allocations: 53.24 MB / 0.6736 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006079/0.07323, allocations: 6.754 MB / 0.6802 GB, free: 54.05 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004925/0.07818, allocations: 4.144 MB / 0.6842 GB, free: 49.89 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.07844, allocations: 15.94 kB / 0.6843 GB, free: 49.88 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.07873, allocations: 131 kB / 0.6844 GB, free: 49.75 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.08029, allocations: 0.8362 MB / 0.6852 GB, free: 48.91 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.08087, allocations: 235.2 kB / 0.6854 GB, free: 48.68 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.08228, allocations: 1.905 MB / 0.6873 GB, free: 46.77 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/0.08442, allocations: 1.169 MB / 0.6884 GB, free: 45.57 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.08496, allocations: 485.7 kB / 0.6889 GB, free: 45.09 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006866/0.08567, allocations: 0.6542 MB / 0.6895 GB, free: 44.44 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.332e-05/0.08576, allocations: 36 kB / 0.6896 GB, free: 44.4 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.08702, allocations: 0.7359 MB / 0.6903 GB, free: 43.66 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003592/0.0874, allocations: 442.9 kB / 0.6907 GB, free: 43.23 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.08758, allocations: 173.3 kB / 0.6909 GB, free: 43.05 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.08861, allocations: 1.033 MB / 0.6919 GB, free: 42.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.156e-06/0.08863, allocations: 4 kB / 0.6919 GB, free: 42.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.608e-06/0.08864, allocations: 0 / 0.6919 GB, free: 42.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.08866, allocations: 0 / 0.6919 GB, free: 42.02 MB / 442.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.001285/0.08995, allocations: 0.9912 MB / 0.6928 GB, free: 40.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.09, allocations: 8.828 kB / 0.6929 GB, free: 40.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003865/0.09388, allocations: 434.4 kB / 0.6933 GB, free: 40.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006859/0.09458, allocations: 465.5 kB / 0.6937 GB, free: 40.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.09464, allocations: 61.94 kB / 0.6938 GB, free: 39.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.0948, allocations: 75.97 kB / 0.6938 GB, free: 39.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.0967, allocations: 1.172 MB / 0.695 GB, free: 38.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.09675, allocations: 0 / 0.695 GB, free: 38.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.741e-05/0.09685, allocations: 31.98 kB / 0.695 GB, free: 38.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.344e-05/0.09696, allocations: 77.95 kB / 0.6951 GB, free: 38.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.09907, allocations: 1.234 MB / 0.6963 GB, free: 37.37 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005713/0.1048, allocations: 3.531 MB / 0.6997 GB, free: 33.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.1066, allocations: 1.054 MB / 0.7008 GB, free: 32.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009824/0.1076, allocations: 0.6526 MB / 0.7014 GB, free: 32.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.479e-05/0.1077, allocations: 16.98 kB / 0.7014 GB, free: 32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1077, allocations: 59.72 kB / 0.7015 GB, free: 31.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 3.246e-06/0.1077, allocations: 0 / 0.7015 GB, free: 31.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.007193/0.1149, allocations: 3.048 MB / 0.7045 GB, free: 28.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.115, allocations: 94.14 kB / 0.7046 GB, free: 28.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.1154, allocations: 357.6 kB / 0.7049 GB, free: 28.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/0.1155, allocations: 41.7 kB / 0.7049 GB, free: 28.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.1156, allocations: 316.1 kB / 0.7052 GB, free: 28.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.1159, allocations: 315.3 kB / 0.7055 GB, free: 27.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.1159, allocations: 20 kB / 0.7056 GB, free: 27.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.116, allocations: 370.7 kB / 0.7059 GB, free: 27.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007789/0.1168, allocations: 465.7 kB / 0.7064 GB, free: 26.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008358/0.1177, allocations: 0.5657 MB / 0.7069 GB, free: 26.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009099/0.1186, allocations: 0.5456 MB / 0.7074 GB, free: 25.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.521e-06/0.1186, allocations: 0 / 0.7074 GB, free: 25.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002737/0.1214, allocations: 1.458 MB / 0.7089 GB, free: 24.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1214, allocations: 8 kB / 0.7089 GB, free: 24.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.957e-06/0.1214, allocations: 3.938 kB / 0.7089 GB, free: 24.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.1225, allocations: 341.4 kB / 0.7092 GB, free: 23.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008513/0.1234, allocations: 187.7 kB / 0.7094 GB, free: 23.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005417/0.1288, allocations: 3.864 MB / 0.7131 GB, free: 19.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005164/0.1293, allocations: 47.94 kB / 0.7132 GB, free: 19.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.395e-05/0.1294, allocations: 35.98 kB / 0.7132 GB, free: 19.62 MB / 442.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.0003909/0.1298, allocations: 289.5 kB / 0.7135 GB, free: 19.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.13, allocations: 59.3 kB / 0.7136 GB, free: 19.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.1329, allocations: 1.559 MB / 0.7151 GB, free: 17.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.133, allocations: 12 kB / 0.7151 GB, free: 17.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.133, allocations: 7.984 kB / 0.7151 GB, free: 17.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.133, allocations: 3.984 kB / 0.7151 GB, free: 17.68 MB / 442.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.005404/0.1384, allocations: 3.025 MB / 0.7181 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.467e-06/0.1384, allocations: 4.031 kB / 0.7181 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008004/0.1392, allocations: 179.6 kB / 0.7182 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009301/0.1402, allocations: 280.6 kB / 0.7185 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.618e-05/0.1403, allocations: 31.98 kB / 0.7185 GB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004962/0.1453, allocations: 3.608 MB / 0.7221 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.1453, allocations: 11.94 kB / 0.7221 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/0.1479, allocations: 1.584 MB / 0.7236 GB, free: 8.613 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.148, allocations: 140.3 kB / 0.7237 GB, free: 8.457 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.1481, allocations: 20 kB / 0.7238 GB, free: 8.438 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005293/0.1487, allocations: 47.95 kB / 0.7238 GB, free: 8.391 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.1488, allocations: 84.78 kB / 0.7239 GB, free: 8.309 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-05/0.1489, allocations: 32 kB / 0.7239 GB, free: 8.277 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002651/0.1492, allocations: 259.1 kB / 0.7242 GB, free: 8.023 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.1492, allocations: 0 / 0.7242 GB, free: 8.023 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001033/0.1503, allocations: 308 kB / 0.7245 GB, free: 7.723 MB / 442.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.0001556/0.1504, allocations: 127.1 kB / 0.7246 GB, free: 7.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002276/0.1527, allocations: 1.389 MB / 0.7259 GB, free: 6.188 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.518e-06/0.1527, allocations: 0 / 0.7259 GB, free: 6.188 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.1541, allocations: 0.8401 MB / 0.7268 GB, free: 5.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.1549, allocations: 106.3 kB / 0.7269 GB, free: 5.234 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.1579, allocations: 2.09 MB / 0.7289 GB, free: 3.074 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006295/0.1585, allocations: 1.083 MB / 0.73 GB, free: 1.965 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005863/0.1591, allocations: 180.6 kB / 0.7301 GB, free: 1.785 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.1594, allocations: 63.41 kB / 0.7302 GB, free: 1.723 MB / 442.7 MB Notification: Performance of SimCode: time 1.386e-06/0.1594, allocations: 0 / 0.7302 GB, free: 1.723 MB / 442.7 MB Notification: Performance of Templates: time 0.2538/0.4132, allocations: 9.056 MB / 0.739 GB, free: 126.3 MB / 442.7 MB