Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.561/1.561, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.0009662/0.0009663, allocations: 169 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.562/1.562, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0008403/0.0008405, allocations: 95.73 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.071e-05/2.068e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6588/0.6589, allocations: 116.3 MB / 0.9733 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2202/0.8792, allocations: 167.3 MB / 1.137 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.8795, allocations: 96.22 kB / 1.137 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04682/0.9264, allocations: 18.02 MB / 1.154 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9264, allocations: 0 / 1.154 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.286e-05/0.9264, allocations: 7.938 kB / 1.154 GB, free: 12.68 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001015/0.9274, allocations: 0.5294 MB / 1.155 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.9275, allocations: 8.031 kB / 1.155 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008554/0.9284, allocations: 103.5 kB / 1.155 GB, free: 12 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.9288, allocations: 255.2 kB / 1.155 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.9288, allocations: 4 kB / 1.155 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.9289, allocations: 12 kB / 1.155 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004467/0.9293, allocations: 259.2 kB / 1.155 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.9298, allocations: 337.1 kB / 1.156 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.9299, allocations: 4 kB / 1.156 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.9299, allocations: 0 / 1.156 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/0.9299, allocations: 23.77 kB / 1.156 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.9317, allocations: 1.676 MB / 1.157 GB, free: 9.246 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/0.9323, allocations: 323.6 kB / 1.158 GB, free: 8.914 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.9325, allocations: 165.7 kB / 1.158 GB, free: 8.746 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.9327, allocations: 85.09 kB / 1.158 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.9327, allocations: 46.5 kB / 1.158 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 1.714e-06/0.9327, allocations: 0 / 1.158 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of matching and sorting (n=35): time 0.002849/0.9356, allocations: 1.093 MB / 1.159 GB, free: 7.492 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.9356, allocations: 81.05 kB / 1.159 GB, free: 7.395 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.9358, allocations: 162.7 kB / 1.159 GB, free: 7.23 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.9359, allocations: 25.7 kB / 1.159 GB, free: 7.199 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.936, allocations: 148.7 kB / 1.159 GB, free: 7.051 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.885e-05/0.9361, allocations: 114.3 kB / 1.16 GB, free: 6.938 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.9361, allocations: 0 / 1.16 GB, free: 6.938 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.9362, allocations: 330.8 kB / 1.16 GB, free: 6.605 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.9365, allocations: 211.9 kB / 1.16 GB, free: 6.398 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.9369, allocations: 293.3 kB / 1.16 GB, free: 6.078 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.9375, allocations: 302 kB / 1.161 GB, free: 5.785 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.9375, allocations: 0 / 1.161 GB, free: 5.785 MB / 0.7605 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001038/0.9385, allocations: 0.5948 MB / 1.161 GB, free: 5.184 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003109/0.9388, allocations: 0.8768 MB / 1.162 GB, free: 4.238 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.9389, allocations: 4 kB / 1.162 GB, free: 4.234 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.9389, allocations: 4 kB / 1.162 GB, free: 4.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008101/0.9397, allocations: 151.8 kB / 1.162 GB, free: 4.082 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.9397, allocations: 11.34 kB / 1.162 GB, free: 4.074 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.9401, allocations: 47.94 kB / 1.162 GB, free: 4.027 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.9401, allocations: 16 kB / 1.162 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.9402, allocations: 4 kB / 1.162 GB, free: 4.008 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008648/0.941, allocations: 451.4 kB / 1.163 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.941, allocations: 0 / 1.163 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/0.9411, allocations: 4.281 kB / 1.163 GB, free: 3.562 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006661/0.9417, allocations: 139.8 kB / 1.163 GB, free: 3.426 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.9417, allocations: 6.344 kB / 1.163 GB, free: 3.422 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.942, allocations: 34.83 kB / 1.163 GB, free: 3.391 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.9421, allocations: 16 kB / 1.163 GB, free: 3.375 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.9422, allocations: 120.9 kB / 1.163 GB, free: 3.25 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.9423, allocations: 23.72 kB / 1.163 GB, free: 3.227 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.9435, allocations: 0.615 MB / 1.164 GB, free: 2.602 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.9435, allocations: 4 kB / 1.164 GB, free: 2.598 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.9435, allocations: 8 kB / 1.164 GB, free: 2.59 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.9435, allocations: 0 / 1.164 GB, free: 2.59 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.9456, allocations: 1.258 MB / 1.165 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.9456, allocations: 7.938 kB / 1.165 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/0.9462, allocations: 123.8 kB / 1.165 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.9462, allocations: 4 kB / 1.165 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.9463, allocations: 4 kB / 1.165 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.9463, allocations: 9 kB / 1.165 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/0.9463, allocations: 4 kB / 1.165 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009867/0.9473, allocations: 0.7629 MB / 1.166 GB, free: 252 kB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.9475, allocations: 140.8 kB / 1.166 GB, free: 92 kB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.9475, allocations: 13.06 kB / 1.166 GB, free: 80 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.9479, allocations: 31.95 kB / 1.166 GB, free: 48 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/0.948, allocations: 30.22 kB / 1.166 GB, free: 20 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.948, allocations: 12 kB / 1.166 GB, free: 8 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001496/0.9482, allocations: 143 kB / 1.166 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9482, allocations: 0 / 1.166 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007204/0.9489, allocations: 139.9 kB / 1.166 GB, free: 15.73 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002975/0.9492, allocations: 152.6 kB / 1.166 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.9504, allocations: 0.6882 MB / 1.167 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.9504, allocations: 384 / 1.167 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.9508, allocations: 228.2 kB / 1.167 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.9513, allocations: 38.56 kB / 1.167 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.9527, allocations: 0.5377 MB / 1.168 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.9534, allocations: 0.7852 MB / 1.169 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000634/0.9541, allocations: 182.7 kB / 1.169 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.9543, allocations: 27.44 kB / 1.169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of SimCode: time 2.5e-07/0.9543, allocations: 0 / 1.169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of Templates: time 0.009908/0.9642, allocations: 4.391 MB / 1.173 GB, free: 8.719 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)