Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002583/0.002582, allocations: 361.4 kB / 17.21 MB, free: 4.926 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.931/3.931, allocations: 388.9 MB / 406.8 MB, free: 12 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.003499/0.003499, allocations: 221.7 kB / 452.2 MB, free: 14.61 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.7652/0.7652, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004451, allocations: 12 kB / 0.6223 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09181, allocations: 53.22 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.00491/0.09678, allocations: 3.957 MB / 0.6781 GB, free: 56.85 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.09871, allocations: 0.9676 MB / 0.679 GB, free: 55.88 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.09897, allocations: 19.81 kB / 0.6791 GB, free: 55.86 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.09915, allocations: 43.67 kB / 0.6791 GB, free: 55.82 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005854/0.09975, allocations: 178.9 kB / 0.6793 GB, free: 55.64 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.1001, allocations: 87.81 kB / 0.6793 GB, free: 55.55 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004875/0.1006, allocations: 438.5 kB / 0.6798 GB, free: 55.12 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.1008, allocations: 76.89 kB / 0.6798 GB, free: 55.05 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.101, allocations: 131.3 kB / 0.68 GB, free: 54.92 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.1014, allocations: 187.3 kB / 0.6801 GB, free: 54.73 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.1015, allocations: 12 kB / 0.6802 GB, free: 54.72 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.228e-05/0.1016, allocations: 8 kB / 0.6802 GB, free: 54.71 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.1017, allocations: 79.72 kB / 0.6802 GB, free: 54.64 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.996e-05/0.1017, allocations: 69.58 kB / 0.6803 GB, free: 54.56 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.102, allocations: 207.4 kB / 0.6805 GB, free: 54.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.102, allocations: 0 / 0.6805 GB, free: 54.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.102, allocations: 0 / 0.6805 GB, free: 54.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.102, allocations: 0 / 0.6805 GB, free: 54.36 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001235/0.1033, allocations: 0.5619 MB / 0.6811 GB, free: 53.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1033, allocations: 8.031 kB / 0.6811 GB, free: 53.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.853e-05/0.1034, allocations: 31.62 kB / 0.6811 GB, free: 53.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006632/0.1041, allocations: 309.8 kB / 0.6814 GB, free: 53.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.1041, allocations: 24.42 kB / 0.6814 GB, free: 53.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.1043, allocations: 31.95 kB / 0.6814 GB, free: 53.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005344/0.1049, allocations: 290 kB / 0.6817 GB, free: 53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1049, allocations: 3.938 kB / 0.6817 GB, free: 52.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.105, allocations: 12 kB / 0.6817 GB, free: 52.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.105, allocations: 11.94 kB / 0.6817 GB, free: 52.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.1054, allocations: 179.8 kB / 0.6819 GB, free: 52.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.1073, allocations: 1.28 MB / 0.6832 GB, free: 51.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.1077, allocations: 123.8 kB / 0.6833 GB, free: 51.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.865e-05/0.1078, allocations: 46.58 kB / 0.6833 GB, free: 51.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1078, allocations: 3.984 kB / 0.6833 GB, free: 51.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1079, allocations: 46.55 kB / 0.6834 GB, free: 51.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 3.025e-06/0.1079, allocations: 0 / 0.6834 GB, free: 51.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.001105/0.109, allocations: 0.5197 MB / 0.6839 GB, free: 50.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.109, allocations: 114.8 kB / 0.684 GB, free: 50.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.1093, allocations: 238.7 kB / 0.6842 GB, free: 50.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1094, allocations: 29.95 kB / 0.6842 GB, free: 50.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.1095, allocations: 199.5 kB / 0.6844 GB, free: 49.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.1095, allocations: 51.44 kB / 0.6845 GB, free: 49.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.1096, allocations: 0 / 0.6845 GB, free: 49.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.815e-05/0.1096, allocations: 334.8 kB / 0.6848 GB, free: 49.58 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.1098, allocations: 35.98 kB / 0.6848 GB, free: 49.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.1099, allocations: 132 kB / 0.685 GB, free: 49.37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1101, allocations: 63.86 kB / 0.685 GB, free: 49.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1101, allocations: 0 / 0.685 GB, free: 49.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000531/0.1106, allocations: 238 kB / 0.6853 GB, free: 49.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1107, allocations: 8 kB / 0.6853 GB, free: 49.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.1107, allocations: 4 kB / 0.6853 GB, free: 49.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.1109, allocations: 24.84 kB / 0.6853 GB, free: 49.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.1115, allocations: 71.88 kB / 0.6854 GB, free: 48.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1116, allocations: 4.156 kB / 0.6854 GB, free: 48.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1118, allocations: 4 kB / 0.6854 GB, free: 48.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.1118, allocations: 16.17 kB / 0.6854 GB, free: 48.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.112, allocations: 153.7 kB / 0.6855 GB, free: 48.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.19e-05/0.112, allocations: 23.72 kB / 0.6855 GB, free: 48.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.1124, allocations: 154.5 kB / 0.6857 GB, free: 48.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1124, allocations: 3.984 kB / 0.6857 GB, free: 48.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1124, allocations: 4 kB / 0.6857 GB, free: 48.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.1125, allocations: 96.83 kB / 0.6858 GB, free: 48.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.1126, allocations: 8 kB / 0.6858 GB, free: 48.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.1128, allocations: 4 kB / 0.6858 GB, free: 48.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.1128, allocations: 11.94 kB / 0.6858 GB, free: 48.45 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006001/0.1134, allocations: 387.3 kB / 0.6862 GB, free: 48.07 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005043/0.114, allocations: 0.5145 MB / 0.6867 GB, free: 47.54 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001152/0.1141, allocations: 55.95 kB / 0.6867 GB, free: 47.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.1143, allocations: 170 kB / 0.6869 GB, free: 47.31 MB / 442.7 MB Notification: Performance of Backend: time 5.71e-07/0.1143, allocations: 4.125 kB / 0.6869 GB, free: 47.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008318/0.1151, allocations: 248.2 kB / 0.6871 GB, free: 47.04 MB / 442.7 MB Notification: Performance of SimCode: time 0.001484/0.1166, allocations: 1.223 MB / 0.6883 GB, free: 45.77 MB / 442.7 MB Notification: Performance of Templates: time 0.008356/0.125, allocations: 2.099 MB / 0.6904 GB, free: 43.69 MB / 442.7 MB