Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.CityTest.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.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.CityTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002538/0.002543, 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.719/3.719, allocations: 388.9 MB / 406.8 MB, free: 11.98 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.00345/0.00345, allocations: 229.6 kB / 452.2 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.7372/0.7372, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006153/0.0006155, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.09016, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.004142/0.09436, allocations: 3.303 MB / 0.6775 GB, free: 57.5 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.09717, allocations: 1.643 MB / 0.6791 GB, free: 55.85 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.09737, allocations: 15.94 kB / 0.6791 GB, free: 55.83 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.09772, allocations: 55.67 kB / 0.6791 GB, free: 55.78 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000576/0.09831, allocations: 187.1 kB / 0.6793 GB, free: 55.59 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.0988, allocations: 131.5 kB / 0.6794 GB, free: 55.46 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000525/0.09934, allocations: 478.8 kB / 0.6799 GB, free: 55 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007561/0.1001, allocations: 338.5 kB / 0.6802 GB, free: 54.64 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004203/0.1005, allocations: 151.3 kB / 0.6804 GB, free: 54.49 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.1008, allocations: 167.4 kB / 0.6805 GB, free: 54.33 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.1009, allocations: 12 kB / 0.6805 GB, free: 54.32 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005478/0.1015, allocations: 187.5 kB / 0.6807 GB, free: 54.13 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1016, allocations: 95.75 kB / 0.6808 GB, free: 54.04 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.192e-05/0.1017, allocations: 81.52 kB / 0.6809 GB, free: 53.95 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005394/0.1022, allocations: 395.1 kB / 0.6813 GB, free: 53.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1023, allocations: 0 / 0.6813 GB, free: 53.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1023, allocations: 0 / 0.6813 GB, free: 53.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1023, allocations: 0 / 0.6813 GB, free: 53.57 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008767/0.1032, allocations: 0.6156 MB / 0.6819 GB, free: 52.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1032, allocations: 8.031 kB / 0.6819 GB, free: 52.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.1042, allocations: 99.52 kB / 0.682 GB, free: 52.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005964/0.1049, allocations: 369.6 kB / 0.6823 GB, free: 52.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.1049, allocations: 12.38 kB / 0.6823 GB, free: 52.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/0.105, allocations: 19.98 kB / 0.6823 GB, free: 52.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007551/0.1057, allocations: 368.6 kB / 0.6827 GB, free: 51.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1058, allocations: 0 / 0.6827 GB, free: 51.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.1058, allocations: 12 kB / 0.6827 GB, free: 51.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.1059, allocations: 12.38 kB / 0.6827 GB, free: 51.94 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008558/0.1067, allocations: 400.8 kB / 0.6831 GB, free: 51.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.109, allocations: 1.582 MB / 0.6846 GB, free: 49.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009006/0.1099, allocations: 341.5 kB / 0.685 GB, free: 49.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.1102, allocations: 114 kB / 0.6851 GB, free: 49.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.833e-05/0.1103, allocations: 4.188 kB / 0.6851 GB, free: 49.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004111/0.1107, allocations: 198.2 kB / 0.6853 GB, free: 49.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=24): time 3.086e-06/0.1107, allocations: 0 / 0.6853 GB, free: 49.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=24): time 0.001084/0.1118, allocations: 402 kB / 0.6856 GB, free: 48.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1119, allocations: 132.5 kB / 0.6858 GB, free: 48.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.1122, allocations: 291.2 kB / 0.6861 GB, free: 48.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.1123, allocations: 33.7 kB / 0.6861 GB, free: 48.28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1124, allocations: 176.1 kB / 0.6863 GB, free: 48.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.1125, allocations: 83 kB / 0.6863 GB, free: 48.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.1125, allocations: 8 kB / 0.6863 GB, free: 48.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.1126, allocations: 342.8 kB / 0.6867 GB, free: 47.67 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.1129, allocations: 112 kB / 0.6868 GB, free: 47.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.1133, allocations: 202.7 kB / 0.687 GB, free: 47.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.1137, allocations: 178.3 kB / 0.6871 GB, free: 47.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1137, allocations: 0 / 0.6871 GB, free: 47.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009189/0.1146, allocations: 446.8 kB / 0.6876 GB, free: 46.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.213e-05/0.1147, allocations: 41.73 kB / 0.6876 GB, free: 46.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1147, allocations: 4 kB / 0.6876 GB, free: 46.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.1147, allocations: 7.984 kB / 0.6876 GB, free: 46.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.1152, allocations: 67.84 kB / 0.6877 GB, free: 46.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1152, allocations: 4 kB / 0.6877 GB, free: 46.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.1154, allocations: 31.69 kB / 0.6877 GB, free: 46.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.1155, allocations: 12 kB / 0.6877 GB, free: 46.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.city.data.nextTimeEvent,city.data.nextTimeEvent,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEventScaled,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002409/0.1157, allocations: 185.7 kB / 0.6879 GB, free: 46.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.1158, allocations: 31.62 kB / 0.6879 GB, free: 46.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008235/0.1166, allocations: 331.6 kB / 0.6882 GB, free: 45.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.1166, allocations: 7.938 kB / 0.6883 GB, free: 45.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1167, allocations: 0 / 0.6883 GB, free: 45.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.1168, allocations: 148.6 kB / 0.6884 GB, free: 45.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.1169, allocations: 8 kB / 0.6884 GB, free: 45.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.1171, allocations: 15.94 kB / 0.6884 GB, free: 45.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.1172, allocations: 19.92 kB / 0.6884 GB, free: 45.75 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008695/0.118, allocations: 0.55 MB / 0.689 GB, free: 45.19 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007633/0.1188, allocations: 0.6181 MB / 0.6896 GB, free: 44.55 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002579/0.1191, allocations: 111.9 kB / 0.6897 GB, free: 44.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.1194, allocations: 205.9 kB / 0.6899 GB, free: 44.25 MB / 442.7 MB Notification: Performance of Backend: time 9.32e-07/0.1194, allocations: 0 / 0.6899 GB, free: 44.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.1219, allocations: 0.7853 MB / 0.6907 GB, free: 43.5 MB / 442.7 MB Notification: Performance of SimCode: time 0.001283/0.1233, allocations: 1.081 MB / 0.6917 GB, free: 42.38 MB / 442.7 MB Notification: Performance of Templates: time 0.01242/0.1357, allocations: 4.811 MB / 0.6964 GB, free: 37.56 MB / 442.7 MB