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.002592/0.002592, allocations: 362.4 kB / 17.21 MB, free: 4.953 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.666/3.666, allocations: 388.9 MB / 406.8 MB, free: 11.89 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.003529/0.003529, allocations: 233.6 kB / 452.2 MB, free: 14.49 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.7153/0.7153, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.000461, allocations: 15.98 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08936/0.08985, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4345/0.5244, allocations: 95.2 MB / 0.7672 GB, free: 81.45 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.5248, allocations: 97.64 kB / 0.7673 GB, free: 81.45 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05434/0.5791, allocations: 14 MB / 0.781 GB, free: 79.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5792, allocations: 0 / 0.781 GB, free: 79.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.629e-05/0.5793, allocations: 15.25 kB / 0.781 GB, free: 79.46 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.00252/0.5818, allocations: 0.9635 MB / 0.7819 GB, free: 78.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.5818, allocations: 15.69 kB / 0.7819 GB, free: 78.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.582, allocations: 80.02 kB / 0.782 GB, free: 78.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.5842, allocations: 0.7659 MB / 0.7828 GB, free: 78.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.5845, allocations: 120.5 kB / 0.7829 GB, free: 78.24 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.5846, allocations: 55.94 kB / 0.7829 GB, free: 78.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.5865, allocations: 0.8042 MB / 0.7837 GB, free: 77.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.5866, allocations: 3.984 kB / 0.7837 GB, free: 77.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/0.5867, allocations: 21.91 kB / 0.7837 GB, free: 77.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.5867, allocations: 15.38 kB / 0.7837 GB, free: 77.94 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.5888, allocations: 0.6977 MB / 0.7844 GB, free: 77.8 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.005687/0.5946, allocations: 2.735 MB / 0.7871 GB, free: 76.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002841/0.5974, allocations: 0.9158 MB / 0.788 GB, free: 75.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000904/0.5983, allocations: 335.1 kB / 0.7883 GB, free: 75.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.543e-05/0.5984, allocations: 10.64 kB / 0.7883 GB, free: 75.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.5985, allocations: 42.25 kB / 0.7884 GB, free: 75.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 3.196e-06/0.5985, allocations: 0 / 0.7884 GB, free: 75.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.00558/0.6041, allocations: 1.98 MB / 0.7903 GB, free: 74.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.6041, allocations: 84.98 kB / 0.7904 GB, free: 74.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005781/0.6047, allocations: 421.2 kB / 0.7908 GB, free: 74.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.6048, allocations: 39.95 kB / 0.7908 GB, free: 74.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.605, allocations: 320.3 kB / 0.7911 GB, free: 74.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.6051, allocations: 134.3 kB / 0.7913 GB, free: 74.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.6052, allocations: 12.25 kB / 0.7913 GB, free: 74.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.6053, allocations: 362 kB / 0.7916 GB, free: 73.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000785/0.6061, allocations: 246.4 kB / 0.7918 GB, free: 73.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008567/0.6069, allocations: 362.7 kB / 0.7922 GB, free: 73.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.6078, allocations: 276.6 kB / 0.7925 GB, free: 73.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6078, allocations: 3.844 kB / 0.7925 GB, free: 73.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002085/0.6099, allocations: 0.7935 MB / 0.7932 GB, free: 73.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.6099, allocations: 7.062 kB / 0.7932 GB, free: 73.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.61, allocations: 8.984 kB / 0.7932 GB, free: 73.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003241/0.6103, allocations: 71.5 kB / 0.7933 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/0.6132, allocations: 368.4 kB / 0.7937 GB, free: 73.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007144/0.6203, allocations: 6.112 MB / 0.7996 GB, free: 67.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007431/0.6211, allocations: 45.45 kB / 0.7997 GB, free: 67.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.6212, allocations: 12.38 kB / 0.7997 GB, free: 67.56 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.0004794/0.6217, allocations: 237.8 kB / 0.7999 GB, free: 67.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.6218, allocations: 54.98 kB / 0.8 GB, free: 67.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.6239, allocations: 0.7404 MB / 0.8007 GB, free: 67.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.6239, allocations: 5.25 kB / 0.8007 GB, free: 67.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6239, allocations: 0 / 0.8007 GB, free: 67.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.6239, allocations: 10.69 kB / 0.8007 GB, free: 67.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.6276, allocations: 1.521 MB / 0.8022 GB, free: 66.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.6276, allocations: 2.312 kB / 0.8022 GB, free: 66.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003278/0.6309, allocations: 396.6 kB / 0.8026 GB, free: 66.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002987/0.6312, allocations: 72.84 kB / 0.8026 GB, free: 66.24 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/0.6313, allocations: 13.47 kB / 0.8027 GB, free: 66.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.6334, allocations: 2.842 MB / 0.8054 GB, free: 63.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.6334, allocations: 6.406 kB / 0.8054 GB, free: 63.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/0.6364, allocations: 1.13 MB / 0.8065 GB, free: 63.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.6365, allocations: 121.8 kB / 0.8067 GB, free: 62.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.6366, allocations: 16.25 kB / 0.8067 GB, free: 62.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/0.6372, allocations: 37.12 kB / 0.8067 GB, free: 62.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.6374, allocations: 42.42 kB / 0.8067 GB, free: 62.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.6374, allocations: 11.53 kB / 0.8068 GB, free: 62.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004332/0.6379, allocations: 294.4 kB / 0.807 GB, free: 62.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6379, allocations: 0 / 0.807 GB, free: 62.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008838/0.6388, allocations: 140.3 kB / 0.8072 GB, free: 62.79 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001996/0.639, allocations: 129.1 kB / 0.8073 GB, free: 62.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004354/0.6433, allocations: 1.098 MB / 0.8084 GB, free: 62.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6434, allocations: 2.969 kB / 0.8084 GB, free: 62.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003366/0.6468, allocations: 0.8136 MB / 0.8092 GB, free: 61.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.6479, allocations: 138.5 kB / 0.8093 GB, free: 61.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.6512, allocations: 1.738 MB / 0.811 GB, free: 60.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.6517, allocations: 0.9584 MB / 0.8119 GB, free: 59.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005699/0.6523, allocations: 102.3 kB / 0.812 GB, free: 59.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.6525, allocations: 35.28 kB / 0.8121 GB, free: 59.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6525, allocations: 0 / 0.8121 GB, free: 59.93 MB / 442.7 MB Notification: Performance of Templates: time 0.0185/0.671, allocations: 7.059 MB / 0.819 GB, free: 56.04 MB / 442.7 MB