Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Source.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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00256/0.00256, allocations: 363 kB / 17.22 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.764/3.764, 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.003534/0.003534, allocations: 225.6 kB / 452.2 MB, free: 14.59 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.717/0.717, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004608, allocations: 8 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1012, allocations: 53.24 MB / 0.6742 GB, free: 60.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.007633/0.1089, allocations: 4.441 MB / 0.6786 GB, free: 56.46 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.113, allocations: 1.634 MB / 0.6802 GB, free: 54.82 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.1133, allocations: 23.81 kB / 0.6802 GB, free: 54.8 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.1136, allocations: 71.45 kB / 0.6803 GB, free: 54.73 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.1147, allocations: 286.5 kB / 0.6805 GB, free: 54.45 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009823/0.1157, allocations: 235.4 kB / 0.6808 GB, free: 54.21 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.1168, allocations: 0.7365 MB / 0.6815 GB, free: 53.48 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.1178, allocations: 434.5 kB / 0.6819 GB, free: 53.02 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000443/0.1183, allocations: 219 kB / 0.6821 GB, free: 52.8 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008197/0.1191, allocations: 363 kB / 0.6824 GB, free: 52.45 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.597e-05/0.1192, allocations: 20 kB / 0.6825 GB, free: 52.43 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006342/0.1199, allocations: 183.6 kB / 0.6826 GB, free: 52.25 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.1202, allocations: 207.5 kB / 0.6828 GB, free: 52.04 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.1204, allocations: 109.5 kB / 0.6829 GB, free: 51.93 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008461/0.1213, allocations: 498.8 kB / 0.6834 GB, free: 51.44 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1213, allocations: 4 kB / 0.6834 GB, free: 51.44 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1213, allocations: 0 / 0.6834 GB, free: 51.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1213, allocations: 0 / 0.6834 GB, free: 51.44 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002137/0.1235, allocations: 0.6956 MB / 0.6841 GB, free: 50.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.1236, allocations: 8.031 kB / 0.6841 GB, free: 50.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.1249, allocations: 99.36 kB / 0.6842 GB, free: 50.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007824/0.1257, allocations: 390.1 kB / 0.6846 GB, free: 50.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.1257, allocations: 24.98 kB / 0.6846 GB, free: 50.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.1259, allocations: 51.84 kB / 0.6846 GB, free: 50.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.1272, allocations: 0.6953 MB / 0.6853 GB, free: 49.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.1273, allocations: 0 / 0.6853 GB, free: 49.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.514e-05/0.1273, allocations: 16 kB / 0.6853 GB, free: 49.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003281/0.1277, allocations: 64.95 kB / 0.6854 GB, free: 49.28 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.1291, allocations: 0.6674 MB / 0.6861 GB, free: 48.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004668/0.1338, allocations: 2.631 MB / 0.6886 GB, free: 45.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.1345, allocations: 325.7 kB / 0.6889 GB, free: 45.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.1349, allocations: 201.7 kB / 0.6891 GB, free: 45.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.728e-05/0.1349, allocations: 11.94 kB / 0.6891 GB, free: 45.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.135, allocations: 38.56 kB / 0.6892 GB, free: 45.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 4.769e-06/0.135, allocations: 4 kB / 0.6892 GB, free: 45.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=40): time 0.002578/0.1376, allocations: 1.28 MB / 0.6904 GB, free: 43.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.1376, allocations: 81.11 kB / 0.6905 GB, free: 43.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.138, allocations: 291.2 kB / 0.6908 GB, free: 43.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.138, allocations: 29.7 kB / 0.6908 GB, free: 43.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.1382, allocations: 255.6 kB / 0.6911 GB, free: 43.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.1383, allocations: 138.1 kB / 0.6912 GB, free: 43.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.1383, allocations: 12 kB / 0.6912 GB, free: 43.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.1384, allocations: 342.8 kB / 0.6915 GB, free: 42.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.1388, allocations: 184.9 kB / 0.6917 GB, free: 42.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.1393, allocations: 333.2 kB / 0.692 GB, free: 42.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.1398, allocations: 243.7 kB / 0.6923 GB, free: 41.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1398, allocations: 4 kB / 0.6923 GB, free: 41.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001714/0.1415, allocations: 0.6705 MB / 0.6929 GB, free: 41.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1415, allocations: 11.94 kB / 0.6929 GB, free: 41.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001172/0.1427, allocations: 499.4 kB / 0.6934 GB, free: 40.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000638/0.1434, allocations: 113.6 kB / 0.6935 GB, free: 40.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.1439, allocations: 83.81 kB / 0.6936 GB, free: 40.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/0.1469, allocations: 3.026 MB / 0.6965 GB, free: 37.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.1474, allocations: 23.92 kB / 0.6966 GB, free: 37.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/0.1474, allocations: 19.98 kB / 0.6966 GB, free: 37.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003075/0.1477, allocations: 213.7 kB / 0.6968 GB, free: 36.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.1479, allocations: 35.61 kB / 0.6968 GB, free: 36.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009586/0.1488, allocations: 476.5 kB / 0.6973 GB, free: 36.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.1489, allocations: 4 kB / 0.6973 GB, free: 36.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1489, allocations: 0 / 0.6973 GB, free: 36.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.1491, allocations: 136.6 kB / 0.6974 GB, free: 36.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.1491, allocations: 15.97 kB / 0.6974 GB, free: 36.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.1495, allocations: 15.98 kB / 0.6974 GB, free: 36.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.1495, allocations: 19.92 kB / 0.6975 GB, free: 36.26 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00142/0.151, allocations: 0.6286 MB / 0.6981 GB, free: 35.62 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001304/0.1523, allocations: 0.8879 MB / 0.6989 GB, free: 34.71 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003507/0.1527, allocations: 197.1 kB / 0.6991 GB, free: 34.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002314/0.1529, allocations: 211.1 kB / 0.6993 GB, free: 34.31 MB / 442.7 MB Notification: Performance of Backend: time 7.11e-07/0.1529, allocations: 0 / 0.6993 GB, free: 34.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.1546, allocations: 0.6495 MB / 0.7 GB, free: 33.63 MB / 442.7 MB Notification: Performance of SimCode: time 0.002094/0.1567, allocations: 1.646 MB / 0.7016 GB, free: 31.94 MB / 442.7 MB Notification: Performance of Templates: time 0.0132/0.1699, allocations: 5.111 MB / 0.7066 GB, free: 26.83 MB / 442.7 MB