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.002422/0.002425, allocations: 353.2 kB / 16.57 MB, free: 5.59 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.486/3.486, allocations: 388.9 MB / 406.2 MB, free: 11.99 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.003564/0.003564, allocations: 231.8 kB / 451.6 MB, free: 14.58 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.6626/0.6626, allocations: 76 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004599, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07308/0.07356, allocations: 53.23 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.006206/0.07981, allocations: 6.875 MB / 0.6803 GB, free: 53.92 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004604/0.08444, allocations: 3.937 MB / 0.6842 GB, free: 49.96 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.08469, allocations: 19.88 kB / 0.6842 GB, free: 49.95 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.08497, allocations: 131.1 kB / 0.6843 GB, free: 49.82 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.08633, allocations: 0.7467 MB / 0.685 GB, free: 49.07 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.08687, allocations: 219.3 kB / 0.6852 GB, free: 48.85 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.08826, allocations: 1.87 MB / 0.6871 GB, free: 46.98 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003961/0.08867, allocations: 327.8 kB / 0.6874 GB, free: 46.63 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004946/0.08918, allocations: 457.7 kB / 0.6878 GB, free: 46.18 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006074/0.08981, allocations: 0.5683 MB / 0.6884 GB, free: 45.61 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.08988, allocations: 20 kB / 0.6884 GB, free: 45.59 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008257/0.09071, allocations: 462.2 kB / 0.6888 GB, free: 45.14 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.09096, allocations: 263.2 kB / 0.6891 GB, free: 44.88 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.09107, allocations: 105.5 kB / 0.6892 GB, free: 44.77 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006448/0.09173, allocations: 0.5923 MB / 0.6898 GB, free: 44.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.457e-06/0.09175, allocations: 0 / 0.6898 GB, free: 44.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.616e-06/0.09176, allocations: 0 / 0.6898 GB, free: 44.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.962e-06/0.09178, allocations: 3.938 kB / 0.6898 GB, free: 44.17 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.000875/0.09266, allocations: 0.7141 MB / 0.6905 GB, free: 43.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.09271, allocations: 8.828 kB / 0.6905 GB, free: 43.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.09477, allocations: 143.3 kB / 0.6906 GB, free: 43.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.09516, allocations: 317.3 kB / 0.6909 GB, free: 42.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.09521, allocations: 28.98 kB / 0.6909 GB, free: 42.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.227e-05/0.09528, allocations: 39.98 kB / 0.691 GB, free: 42.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008127/0.09611, allocations: 0.5827 MB / 0.6916 GB, free: 42.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.09614, allocations: 3.938 kB / 0.6916 GB, free: 42.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/0.0962, allocations: 19.98 kB / 0.6916 GB, free: 42.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.876e-05/0.09627, allocations: 40.61 kB / 0.6916 GB, free: 42.13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000635/0.09692, allocations: 378.1 kB / 0.692 GB, free: 41.76 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.09919, allocations: 2.607 MB / 0.6945 GB, free: 39.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.09991, allocations: 439.9 kB / 0.6949 GB, free: 38.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.1002, allocations: 202.5 kB / 0.6951 GB, free: 38.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1003, allocations: 4 kB / 0.6951 GB, free: 38.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.1003, allocations: 42.48 kB / 0.6952 GB, free: 38.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.67e-06/0.1003, allocations: 0 / 0.6952 GB, free: 38.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001865/0.1022, allocations: 0.7608 MB / 0.6959 GB, free: 37.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.1022, allocations: 106.8 kB / 0.696 GB, free: 37.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.1026, allocations: 320.5 kB / 0.6963 GB, free: 37.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1026, allocations: 33.95 kB / 0.6964 GB, free: 37.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.1027, allocations: 255.7 kB / 0.6966 GB, free: 36.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.973e-05/0.1028, allocations: 114.4 kB / 0.6967 GB, free: 36.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.1029, allocations: 8 kB / 0.6967 GB, free: 36.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.433e-05/0.103, allocations: 350.8 kB / 0.6971 GB, free: 36.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.1032, allocations: 120.8 kB / 0.6972 GB, free: 36.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.1035, allocations: 284 kB / 0.6974 GB, free: 35.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.1038, allocations: 181.2 kB / 0.6976 GB, free: 35.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.162e-06/0.1038, allocations: 0 / 0.6976 GB, free: 35.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009716/0.1048, allocations: 0.5535 MB / 0.6982 GB, free: 35.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1048, allocations: 7.953 kB / 0.6982 GB, free: 35.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.64e-06/0.1049, allocations: 8 kB / 0.6982 GB, free: 35.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003585/0.1052, allocations: 121.3 kB / 0.6983 GB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.1055, allocations: 67.91 kB / 0.6984 GB, free: 34.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.108, allocations: 2.345 MB / 0.7006 GB, free: 32.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.1082, allocations: 43.53 kB / 0.7007 GB, free: 32.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.1083, allocations: 23.98 kB / 0.7007 GB, free: 32.34 MB / 442.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.0002021/0.1085, allocations: 197.6 kB / 0.7009 GB, free: 32.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1086, allocations: 39.53 kB / 0.7009 GB, free: 32.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.932e-05/0.1087, allocations: 47.95 kB / 0.701 GB, free: 32.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.777e-06/0.1087, allocations: 4 kB / 0.701 GB, free: 32.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.713e-06/0.1087, allocations: 7.938 kB / 0.701 GB, free: 32.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.396e-06/0.1087, allocations: 4.062 kB / 0.701 GB, free: 32.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.1101, allocations: 0.9385 MB / 0.7019 GB, free: 31.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.685e-06/0.1101, allocations: 4 kB / 0.7019 GB, free: 31.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.1103, allocations: 39.91 kB / 0.702 GB, free: 30.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002917/0.1106, allocations: 112.9 kB / 0.7021 GB, free: 30.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.1107, allocations: 8 kB / 0.7021 GB, free: 30.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.1131, allocations: 2.33 MB / 0.7043 GB, free: 28.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.766e-06/0.1131, allocations: 4.031 kB / 0.7043 GB, free: 28.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.1139, allocations: 0.627 MB / 0.705 GB, free: 27.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.114, allocations: 108.7 kB / 0.7051 GB, free: 27.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.1141, allocations: 11.98 kB / 0.7051 GB, free: 27.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.1144, allocations: 7.984 kB / 0.7051 GB, free: 27.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.1144, allocations: 27.92 kB / 0.7051 GB, free: 27.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.1145, allocations: 12 kB / 0.7051 GB, free: 27.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002215/0.1147, allocations: 223 kB / 0.7053 GB, free: 27.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.1147, allocations: 0 / 0.7053 GB, free: 27.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007725/0.1155, allocations: 155.8 kB / 0.7055 GB, free: 27.18 MB / 442.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 9.249e-05/0.1156, allocations: 107.2 kB / 0.7056 GB, free: 27.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008668/0.1165, allocations: 0.5031 MB / 0.7061 GB, free: 26.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.861e-06/0.1165, allocations: 0 / 0.7061 GB, free: 26.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004844/0.117, allocations: 347.3 kB / 0.7064 GB, free: 26.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/0.1177, allocations: 58.83 kB / 0.7065 GB, free: 26.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1189, allocations: 0.9669 MB / 0.7074 GB, free: 25.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1193, allocations: 0.8863 MB / 0.7083 GB, free: 24.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002231/0.1195, allocations: 70.91 kB / 0.7083 GB, free: 24.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.057e-05/0.1196, allocations: 23.44 kB / 0.7084 GB, free: 24.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.439e-06/0.1196, allocations: 0 / 0.7084 GB, free: 24.12 MB / 442.7 MB Notification: Performance of Templates: time 0.008524/0.1281, allocations: 3.379 MB / 0.7117 GB, free: 20.74 MB / 442.7 MB