Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 289.9 MB / 297.4 MB, free: 6.383 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 172.9 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.2 MB / 0.626 GB, free: 7.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008307/0.0008308, allocations: 87.8 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.733e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6673/0.6673, allocations: 116.3 MB / 0.9733 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2304/0.8978, allocations: 171.2 MB / 1.14 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.8982, allocations: 99.09 kB / 1.141 GB, free: 10.83 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.0496/0.9478, allocations: 20.25 MB / 1.16 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9479, allocations: 0 / 1.16 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.359e-05/0.9479, allocations: 12 kB / 1.16 GB, free: 6.48 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001044/0.949, allocations: 0.5607 MB / 1.161 GB, free: 5.871 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.949, allocations: 16.02 kB / 1.161 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009958/0.95, allocations: 123.4 kB / 1.161 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.9505, allocations: 278.8 kB / 1.161 GB, free: 5.422 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.9505, allocations: 8 kB / 1.161 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.9505, allocations: 12 kB / 1.161 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000442/0.951, allocations: 252.9 kB / 1.162 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.9515, allocations: 362.7 kB / 1.162 GB, free: 4.77 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.9516, allocations: 4 kB / 1.162 GB, free: 4.766 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.9516, allocations: 0 / 1.162 GB, free: 4.766 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.78e-05/0.9516, allocations: 28.55 kB / 1.162 GB, free: 4.738 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.9541, allocations: 2.006 MB / 1.164 GB, free: 2.555 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/0.9548, allocations: 317.5 kB / 1.164 GB, free: 2.227 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.9551, allocations: 175.5 kB / 1.164 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.9553, allocations: 89.28 kB / 1.164 GB, free: 1.945 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.9553, allocations: 34.75 kB / 1.164 GB, free: 1.902 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.302e-06/0.9553, allocations: 0 / 1.164 GB, free: 1.902 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.0021/0.9574, allocations: 0.8725 MB / 1.165 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.9575, allocations: 85.14 kB / 1.165 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.9577, allocations: 195.9 kB / 1.166 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.9577, allocations: 25.7 kB / 1.166 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.9578, allocations: 180.3 kB / 1.166 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.551e-05/0.9579, allocations: 114.3 kB / 1.166 GB, free: 404 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.958, allocations: 0 / 1.166 GB, free: 404 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.9581, allocations: 334.8 kB / 1.166 GB, free: 60 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.9584, allocations: 152.9 kB / 1.166 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.9587, allocations: 264.2 kB / 1.167 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.9591, allocations: 223.6 kB / 1.167 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.9591, allocations: 3.953 kB / 1.167 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00107/0.9602, allocations: 0.5786 MB / 1.167 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005498/0.9607, allocations: 1.226 MB / 1.169 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.9607, allocations: 4 kB / 1.169 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/0.9611, allocations: 135.3 kB / 1.169 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.9616, allocations: 99.88 kB / 1.169 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/0.9645, allocations: 3.839 MB / 1.173 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.9648, allocations: 27.97 kB / 1.173 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.9648, allocations: 16 kB / 1.173 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.9649, allocations: 4 kB / 1.173 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009669/0.9658, allocations: 0.5263 MB / 1.173 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.9658, allocations: 4 kB / 1.173 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002685/0.9661, allocations: 131.6 kB / 1.173 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.9665, allocations: 95.81 kB / 1.173 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007338/0.9673, allocations: 1.12 MB / 1.174 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.9675, allocations: 31.91 kB / 1.174 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.9676, allocations: 12 kB / 1.174 GB, free: 7.066 MB / 0.7761 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * 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: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.9678, allocations: 121 kB / 1.175 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.9679, allocations: 26.53 kB / 1.175 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.969, allocations: 0.5315 MB / 1.175 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.969, allocations: 7.984 kB / 1.175 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.969, allocations: 8 kB / 1.175 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.969, allocations: 3.984 kB / 1.175 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.9709, allocations: 1.195 MB / 1.176 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.9709, allocations: 4 kB / 1.176 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.9712, allocations: 68.2 kB / 1.176 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000353/0.9715, allocations: 139.3 kB / 1.177 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.9716, allocations: 4 kB / 1.177 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/0.9744, allocations: 3.862 MB / 1.18 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.9744, allocations: 0 / 1.18 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.9755, allocations: 0.8167 MB / 1.181 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.9757, allocations: 136.8 kB / 1.181 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.9757, allocations: 7.984 kB / 1.181 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.976, allocations: 31.97 kB / 1.181 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.9761, allocations: 27.92 kB / 1.181 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.9762, allocations: 19.98 kB / 1.181 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001429/0.9763, allocations: 152.5 kB / 1.181 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9763, allocations: 4 kB / 1.181 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007859/0.9771, allocations: 151.9 kB / 1.182 GB, free: 15.25 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * 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: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002478/0.9774, allocations: 139.1 kB / 1.182 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.9788, allocations: 1.036 MB / 1.183 GB, free: 14 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9788, allocations: 0 / 1.183 GB, free: 14 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.9793, allocations: 428.9 kB / 1.183 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.9798, allocations: 53.97 kB / 1.183 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009571/0.9807, allocations: 0.5297 MB / 1.184 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.9812, allocations: 0.8162 MB / 1.185 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003573/0.9815, allocations: 117.7 kB / 1.185 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.9816, allocations: 19.44 kB / 1.185 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of SimCode: time 2.5e-07/0.9816, allocations: 4 kB / 1.185 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of Templates: time 0.009764/0.9914, allocations: 5.501 MB / 1.19 GB, free: 6.559 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)