Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002548/0.002553, allocations: 360 kB / 17.21 MB, free: 4.93 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.77/3.77, allocations: 388.9 MB / 406.8 MB, free: 12.01 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.003576/0.003576, allocations: 237.2 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.7967/0.7967, allocations: 76 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.0004441, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09144/0.09191, allocations: 53.23 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.007929/0.09989, allocations: 6.561 MB / 0.6806 GB, free: 54.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003826/0.1038, allocations: 1.712 MB / 0.6823 GB, free: 52.53 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006994/0.1045, allocations: 43.69 kB / 0.6823 GB, free: 52.48 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005652/0.1051, allocations: 143 kB / 0.6825 GB, free: 52.34 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.1064, allocations: 453.6 kB / 0.6829 GB, free: 51.9 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007826/0.1072, allocations: 215.6 kB / 0.6831 GB, free: 51.69 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001535/0.1088, allocations: 1.32 MB / 0.6844 GB, free: 50.36 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004706/0.1093, allocations: 247.6 kB / 0.6846 GB, free: 50.11 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006353/0.1099, allocations: 378.3 kB / 0.685 GB, free: 49.74 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009187/0.1109, allocations: 0.5179 MB / 0.6855 GB, free: 49.22 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.286e-05/0.111, allocations: 32 kB / 0.6855 GB, free: 49.19 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.1111, allocations: 36 kB / 0.6856 GB, free: 49.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.1115, allocations: 275.3 kB / 0.6858 GB, free: 48.89 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.1116, allocations: 157.3 kB / 0.686 GB, free: 48.73 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007573/0.1124, allocations: 0.6623 MB / 0.6866 GB, free: 48.06 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1124, allocations: 0 / 0.6866 GB, free: 48.06 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1124, allocations: 0 / 0.6866 GB, free: 48.06 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1124, allocations: 0 / 0.6866 GB, free: 48.06 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002467/0.1149, allocations: 0.9371 MB / 0.6876 GB, free: 47.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.115, allocations: 8.031 kB / 0.6876 GB, free: 47.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.1152, allocations: 75.16 kB / 0.6876 GB, free: 46.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.1164, allocations: 0.5369 MB / 0.6882 GB, free: 46.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.1167, allocations: 120.7 kB / 0.6883 GB, free: 46.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.1168, allocations: 59.95 kB / 0.6883 GB, free: 46.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.1187, allocations: 0.8006 MB / 0.6891 GB, free: 45.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.1188, allocations: 0 / 0.6891 GB, free: 45.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.1189, allocations: 20 kB / 0.6891 GB, free: 45.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001796/0.1191, allocations: 36.97 kB / 0.6892 GB, free: 45.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.1212, allocations: 0.722 MB / 0.6899 GB, free: 44.61 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005819/0.1271, allocations: 2.736 MB / 0.6925 GB, free: 41.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002961/0.1301, allocations: 0.9247 MB / 0.6934 GB, free: 40.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009207/0.131, allocations: 345.5 kB / 0.6938 GB, free: 40.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.958e-05/0.1311, allocations: 7.984 kB / 0.6938 GB, free: 40.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1311, allocations: 38.56 kB / 0.6938 GB, free: 40.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 3.597e-06/0.1311, allocations: 0 / 0.6938 GB, free: 40.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.005745/0.1369, allocations: 2.023 MB / 0.6958 GB, free: 38.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.137, allocations: 81.11 kB / 0.6959 GB, free: 38.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/0.1375, allocations: 417.9 kB / 0.6963 GB, free: 37.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.1376, allocations: 29.7 kB / 0.6963 GB, free: 37.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.1378, allocations: 320.2 kB / 0.6966 GB, free: 37.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.1379, allocations: 138 kB / 0.6967 GB, free: 37.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.138, allocations: 8 kB / 0.6967 GB, free: 37.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.1381, allocations: 362.8 kB / 0.6971 GB, free: 36.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007972/0.1389, allocations: 260.9 kB / 0.6973 GB, free: 36.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008578/0.1398, allocations: 362.3 kB / 0.6977 GB, free: 36.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008691/0.1406, allocations: 287.4 kB / 0.698 GB, free: 35.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1407, allocations: 4 kB / 0.698 GB, free: 35.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002214/0.1429, allocations: 0.804 MB / 0.6987 GB, free: 35.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1429, allocations: 8 kB / 0.6988 GB, free: 35.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1429, allocations: 4.219 kB / 0.6988 GB, free: 35.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000371/0.1433, allocations: 81.56 kB / 0.6988 GB, free: 35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002892/0.1462, allocations: 375.6 kB / 0.6992 GB, free: 34.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007358/0.1536, allocations: 6.155 MB / 0.7052 GB, free: 27.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/0.1544, allocations: 51.89 kB / 0.7053 GB, free: 27.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/0.1544, allocations: 24.11 kB / 0.7053 GB, free: 27.88 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004053/0.1548, allocations: 234 kB / 0.7055 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.155, allocations: 47.44 kB / 0.7055 GB, free: 27.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.157, allocations: 0.7612 MB / 0.7063 GB, free: 26.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.1571, allocations: 3.984 kB / 0.7063 GB, free: 26.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1571, allocations: 4 kB / 0.7063 GB, free: 26.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.1572, allocations: 116.5 kB / 0.7064 GB, free: 26.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.1573, allocations: 15.98 kB / 0.7064 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005704/0.1579, allocations: 39.97 kB / 0.7065 GB, free: 26.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.158, allocations: 35.94 kB / 0.7065 GB, free: 26.57 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005173/0.1632, allocations: 1.221 MB / 0.7077 GB, free: 25.33 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002667/0.1659, allocations: 1.154 MB / 0.7088 GB, free: 24.15 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008321/0.1668, allocations: 295.7 kB / 0.7091 GB, free: 23.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003974/0.1672, allocations: 299.1 kB / 0.7094 GB, free: 23.57 MB / 442.7 MB Notification: Performance of Backend: time 6.82e-07/0.1672, allocations: 0 / 0.7094 GB, free: 23.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004222/0.1714, allocations: 0.9485 MB / 0.7103 GB, free: 22.59 MB / 442.7 MB Notification: Performance of SimCode: time 0.003187/0.1746, allocations: 2.094 MB / 0.7124 GB, free: 20.45 MB / 442.7 MB Notification: Performance of Templates: time 0.0192/0.1938, allocations: 7.262 MB / 0.7194 GB, free: 13.21 MB / 442.7 MB