Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002578/0.002583, allocations: 359.2 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.868/3.868, 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.003587/0.003587, allocations: 231.7 kB / 452.2 MB, free: 14.57 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.8383/0.8383, allocations: 76 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.000467, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09464/0.09514, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.005905/0.1011, allocations: 4.545 MB / 0.6787 GB, free: 56.26 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.1043, allocations: 1.614 MB / 0.6802 GB, free: 54.64 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004352/0.1048, allocations: 27.81 kB / 0.6803 GB, free: 54.61 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.1052, allocations: 103.3 kB / 0.6804 GB, free: 54.51 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009923/0.1062, allocations: 286.2 kB / 0.6806 GB, free: 54.23 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.1067, allocations: 123.8 kB / 0.6808 GB, free: 54.11 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007896/0.1075, allocations: 0.5485 MB / 0.6813 GB, free: 53.55 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.1077, allocations: 113.8 kB / 0.6814 GB, free: 53.44 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.108, allocations: 159.2 kB / 0.6816 GB, free: 53.29 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003538/0.1084, allocations: 199.2 kB / 0.6817 GB, free: 53.09 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.1084, allocations: 16 kB / 0.6818 GB, free: 53.07 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.568e-05/0.1085, allocations: 16 kB / 0.6818 GB, free: 53.06 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1086, allocations: 91.7 kB / 0.6819 GB, free: 52.97 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.274e-05/0.1087, allocations: 89.52 kB / 0.6819 GB, free: 52.88 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.1091, allocations: 279.2 kB / 0.6822 GB, free: 52.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1091, allocations: 7.938 kB / 0.6822 GB, free: 52.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1092, allocations: 0 / 0.6822 GB, free: 52.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1092, allocations: 0 / 0.6822 GB, free: 52.59 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001166/0.1103, allocations: 0.6047 MB / 0.6828 GB, free: 51.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1104, allocations: 8.031 kB / 0.6828 GB, free: 51.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.855e-05/0.1105, allocations: 43.53 kB / 0.6829 GB, free: 51.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/0.1112, allocations: 366.6 kB / 0.6832 GB, free: 51.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.1113, allocations: 16.56 kB / 0.6832 GB, free: 51.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.1113, allocations: 31.98 kB / 0.6833 GB, free: 51.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/0.112, allocations: 330.2 kB / 0.6836 GB, free: 51.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.112, allocations: 11.83 kB / 0.6836 GB, free: 51.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.1121, allocations: 12 kB / 0.6836 GB, free: 51.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.1121, allocations: 8 kB / 0.6836 GB, free: 51.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004749/0.1126, allocations: 201.5 kB / 0.6838 GB, free: 50.86 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.1145, allocations: 1.482 MB / 0.6852 GB, free: 49.28 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.115, allocations: 206.3 kB / 0.6854 GB, free: 49.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.1152, allocations: 83.48 kB / 0.6855 GB, free: 48.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.1152, allocations: 11.92 kB / 0.6855 GB, free: 48.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1153, allocations: 34.5 kB / 0.6856 GB, free: 48.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 3.276e-06/0.1153, allocations: 0 / 0.6856 GB, free: 48.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.001763/0.1171, allocations: 0.8701 MB / 0.6864 GB, free: 47.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.1171, allocations: 136.5 kB / 0.6865 GB, free: 47.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.1175, allocations: 313.7 kB / 0.6868 GB, free: 47.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1176, allocations: 25.7 kB / 0.6869 GB, free: 47.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.1177, allocations: 215.8 kB / 0.6871 GB, free: 47.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.1178, allocations: 75.23 kB / 0.6871 GB, free: 47.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.1178, allocations: 8 kB / 0.6871 GB, free: 47.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.161e-05/0.1179, allocations: 342.8 kB / 0.6875 GB, free: 46.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.118, allocations: 47.97 kB / 0.6875 GB, free: 46.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.1182, allocations: 163.2 kB / 0.6877 GB, free: 46.53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.1185, allocations: 75.94 kB / 0.6877 GB, free: 46.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.1185, allocations: 0 / 0.6877 GB, free: 46.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005245/0.119, allocations: 265.1 kB / 0.688 GB, free: 46.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.119, allocations: 11.69 kB / 0.688 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1191, allocations: 4 kB / 0.688 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.1191, allocations: 8 kB / 0.688 GB, free: 46.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/0.1198, allocations: 79.89 kB / 0.6881 GB, free: 46.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007837/0.1206, allocations: 1.275 MB / 0.6893 GB, free: 44.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.1209, allocations: 8 kB / 0.6894 GB, free: 44.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.1209, allocations: 19.98 kB / 0.6894 GB, free: 44.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (32): * Single equations (assignments): 31 * 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): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002212/0.1211, allocations: 165.9 kB / 0.6895 GB, free: 44.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.1213, allocations: 35.58 kB / 0.6896 GB, free: 44.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00043/0.1217, allocations: 192.8 kB / 0.6897 GB, free: 44.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.1217, allocations: 7.938 kB / 0.6898 GB, free: 44.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1217, allocations: 0 / 0.6898 GB, free: 44.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.436e-05/0.1218, allocations: 108.7 kB / 0.6899 GB, free: 44.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.1219, allocations: 12 kB / 0.6899 GB, free: 44.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.1222, allocations: 0 / 0.6899 GB, free: 44.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.1223, allocations: 15.98 kB / 0.6899 GB, free: 44.1 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007524/0.123, allocations: 0.5025 MB / 0.6904 GB, free: 43.59 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005963/0.1236, allocations: 0.635 MB / 0.691 GB, free: 42.93 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001365/0.1238, allocations: 60 kB / 0.6911 GB, free: 42.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002575/0.124, allocations: 223.2 kB / 0.6913 GB, free: 42.66 MB / 442.7 MB Notification: Performance of Backend: time 8.12e-07/0.1241, allocations: 0 / 0.6913 GB, free: 42.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.1252, allocations: 193.2 kB / 0.6914 GB, free: 42.46 MB / 442.7 MB Notification: Performance of SimCode: time 0.002151/0.1274, allocations: 1.484 MB / 0.6929 GB, free: 40.93 MB / 442.7 MB Notification: Performance of Templates: time 0.01011/0.1375, allocations: 3.114 MB / 0.6959 GB, free: 37.84 MB / 442.7 MB