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.723/1.723, allocations: 292.6 MB / 307.6 MB, free: 5.164 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.001432/0.001432, allocations: 181 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.4 MB / 0.6367 GB, free: 8.602 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.0009165/0.0009166, allocations: 92.58 kB / 0.751 GB, free: 63.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004876, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3058, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.861/1.167, allocations: 172 MB / 1.156 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003693/1.167, allocations: 98.38 kB / 1.156 GB, free: 9.566 MB / 0.7292 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.05101/1.218, allocations: 20.48 MB / 1.176 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.773e-06/1.218, allocations: 0 / 1.176 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.114e-05/1.218, allocations: 8 kB / 1.176 GB, free: 5.941 MB / 0.7448 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.001375/1.22, allocations: 0.5959 MB / 1.177 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/1.22, allocations: 8.031 kB / 1.177 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/1.221, allocations: 119.5 kB / 1.177 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/1.222, allocations: 273.9 kB / 1.177 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/1.222, allocations: 13.69 kB / 1.177 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/1.222, allocations: 27.98 kB / 1.177 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008842/1.223, allocations: 419.5 kB / 1.178 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/1.223, allocations: 0 / 1.178 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/1.223, allocations: 12 kB / 1.178 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-05/1.223, allocations: 28.55 kB / 1.178 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008158/1.224, allocations: 353.9 kB / 1.178 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003263/1.227, allocations: 2.06 MB / 1.18 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008219/1.228, allocations: 353.6 kB / 1.181 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/1.228, allocations: 89.3 kB / 1.181 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/1.228, allocations: 42.67 kB / 1.181 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 2.214e-06/1.228, allocations: 0 / 1.181 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34): time 0.005659/1.234, allocations: 1.771 MB / 1.182 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/1.234, allocations: 81.11 kB / 1.182 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/1.234, allocations: 212.1 kB / 1.183 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/1.234, allocations: 37.64 kB / 1.183 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/1.234, allocations: 180 kB / 1.183 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/1.235, allocations: 118.3 kB / 1.183 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/1.235, allocations: 4 kB / 1.183 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.235, allocations: 342.8 kB / 1.183 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/1.235, allocations: 208.7 kB / 1.184 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/1.236, allocations: 309.5 kB / 1.184 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004821/1.236, allocations: 247.4 kB / 1.184 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.236, allocations: 4 kB / 1.184 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001433/1.238, allocations: 0.6741 MB / 1.185 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006388/1.238, allocations: 1.14 MB / 1.186 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/1.238, allocations: 4 kB / 1.186 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006825/1.239, allocations: 148.8 kB / 1.186 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/1.24, allocations: 91.88 kB / 1.186 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003837/1.243, allocations: 3.98 MB / 1.19 GB, free: 7.188 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/1.244, allocations: 43.98 kB / 1.19 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/1.244, allocations: 16 kB / 1.19 GB, free: 7.129 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.244, allocations: 4 kB / 1.19 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001536/1.245, allocations: 0.6413 MB / 1.191 GB, free: 6.473 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.245, allocations: 1.062 kB / 1.191 GB, free: 6.473 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005167/1.246, allocations: 144.4 kB / 1.191 GB, free: 6.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/1.246, allocations: 99.81 kB / 1.191 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/1.248, allocations: 1.109 MB / 1.192 GB, free: 5.062 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/1.248, allocations: 35.97 kB / 1.192 GB, free: 5.027 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/1.248, allocations: 16.86 kB / 1.192 GB, free: 5.012 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 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.0004898/1.249, allocations: 253.1 kB / 1.192 GB, free: 4.754 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/1.249, allocations: 27.62 kB / 1.192 GB, free: 4.727 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/1.25, allocations: 0.6383 MB / 1.193 GB, free: 4.078 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/1.25, allocations: 7.938 kB / 1.193 GB, free: 4.07 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/1.25, allocations: 4 kB / 1.193 GB, free: 4.066 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/1.25, allocations: 0 / 1.193 GB, free: 4.066 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/1.253, allocations: 1.237 MB / 1.194 GB, free: 2.746 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.253, allocations: 0 / 1.194 GB, free: 2.746 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/1.253, allocations: 67.89 kB / 1.194 GB, free: 2.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005365/1.254, allocations: 156.5 kB / 1.194 GB, free: 2.516 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/1.254, allocations: 8 kB / 1.194 GB, free: 2.508 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00348/1.258, allocations: 3.99 MB / 1.198 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.258, allocations: 4.031 kB / 1.198 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/1.259, allocations: 0.8959 MB / 1.199 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/1.259, allocations: 140.8 kB / 1.199 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/1.259, allocations: 8 kB / 1.199 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/1.26, allocations: 31.97 kB / 1.199 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.26, allocations: 47.84 kB / 1.199 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/1.26, allocations: 8 kB / 1.199 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002068/1.26, allocations: 168.5 kB / 1.199 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/1.26, allocations: 0 / 1.199 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009269/1.261, allocations: 175.9 kB / 1.2 GB, free: 12.62 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 () * Number of clocked 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.0003418/1.261, allocations: 159.7 kB / 1.2 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002451/1.264, allocations: 1.221 MB / 1.201 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.264, allocations: 0 / 1.201 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008387/1.265, allocations: 0.491 MB / 1.201 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/1.265, allocations: 58.36 kB / 1.202 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/1.267, allocations: 0.8569 MB / 1.202 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/1.267, allocations: 0.8123 MB / 1.203 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004358/1.268, allocations: 123.9 kB / 1.203 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.203e-05/1.268, allocations: 23.44 kB / 1.203 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/1.268, allocations: 0 / 1.203 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of Templates: time 0.01171/1.28, allocations: 5.409 MB / 1.209 GB, free: 3.363 MB / 0.7761 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)