Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.702/1.702, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001062/0.001062, allocations: 176.8 kB / 366.7 MB, free: 1.648 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.661/1.661, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.0008262/0.0008263, allocations: 95.23 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.743e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6195/0.6196, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2198/0.8395, allocations: 172.7 MB / 1.142 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.8398, allocations: 91.94 kB / 1.142 GB, free: 9.352 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.05124/0.8911, allocations: 20.53 MB / 1.162 GB, free: 4.734 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8911, allocations: 0 / 1.162 GB, free: 4.734 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.83e-05/0.8912, allocations: 8 kB / 1.162 GB, free: 4.727 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.001046/0.8922, allocations: 0.5607 MB / 1.163 GB, free: 4.117 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.8923, allocations: 16.03 kB / 1.163 GB, free: 4.102 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.8933, allocations: 119.5 kB / 1.163 GB, free: 3.984 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.8938, allocations: 274.8 kB / 1.163 GB, free: 3.676 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.8939, allocations: 8 kB / 1.163 GB, free: 3.668 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.8939, allocations: 15.98 kB / 1.163 GB, free: 3.652 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004559/0.8944, allocations: 248.9 kB / 1.163 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.8949, allocations: 362.8 kB / 1.164 GB, free: 3.023 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.895, allocations: 3.984 kB / 1.164 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.895, allocations: 3.938 kB / 1.164 GB, free: 3.016 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.978e-05/0.8951, allocations: 32.53 kB / 1.164 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.8978, allocations: 1.999 MB / 1.166 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.8985, allocations: 328.2 kB / 1.166 GB, free: 480 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.8988, allocations: 170 kB / 1.166 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.899, allocations: 89.28 kB / 1.166 GB, free: 196 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.899, allocations: 38.75 kB / 1.166 GB, free: 148 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.899, allocations: 0 / 1.166 GB, free: 148 kB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.002176/0.9012, allocations: 0.8681 MB / 1.167 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.9013, allocations: 85.05 kB / 1.167 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.9015, allocations: 195.8 kB / 1.167 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.9015, allocations: 29.7 kB / 1.167 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.9016, allocations: 172.4 kB / 1.168 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.9018, allocations: 118.3 kB / 1.168 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/0.9018, allocations: 1.219 kB / 1.168 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9019, allocations: 334.8 kB / 1.168 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.9022, allocations: 156.8 kB / 1.168 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.9025, allocations: 264.2 kB / 1.168 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.903, allocations: 223.6 kB / 1.169 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.903, allocations: 0 / 1.169 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001116/0.9041, allocations: 0.5844 MB / 1.169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006182/0.9047, allocations: 1.226 MB / 1.17 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.9047, allocations: 0 / 1.17 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/0.9052, allocations: 131.3 kB / 1.17 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/0.9056, allocations: 103.9 kB / 1.171 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/0.9087, allocations: 3.832 MB / 1.174 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.909, allocations: 31.95 kB / 1.174 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.909, allocations: 17.09 kB / 1.174 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.9091, allocations: 8 kB / 1.174 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00104/0.9101, allocations: 0.5233 MB / 1.175 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.9101, allocations: 8.094 kB / 1.175 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002774/0.9104, allocations: 123.3 kB / 1.175 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.9108, allocations: 95.88 kB / 1.175 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000724/0.9115, allocations: 1.116 MB / 1.176 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.9118, allocations: 36.11 kB / 1.176 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.9119, allocations: 16 kB / 1.176 GB, free: 5.312 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.0001907/0.9121, allocations: 122.7 kB / 1.176 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.098e-05/0.9122, allocations: 28.27 kB / 1.176 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.9132, allocations: 0.5269 MB / 1.177 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.9133, allocations: 6.344 kB / 1.177 GB, free: 4.617 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9133, allocations: 4 kB / 1.177 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.9133, allocations: 3.984 kB / 1.177 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.9153, allocations: 1.2 MB / 1.178 GB, free: 3.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.9153, allocations: 4 kB / 1.178 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.9155, allocations: 63.91 kB / 1.178 GB, free: 3.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003487/0.9159, allocations: 151.5 kB / 1.178 GB, free: 3.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.9159, allocations: 4 kB / 1.178 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/0.9187, allocations: 3.855 MB / 1.182 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.9187, allocations: 0 / 1.182 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.9198, allocations: 0.8144 MB / 1.183 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.92, allocations: 136.8 kB / 1.183 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.92, allocations: 4 kB / 1.183 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.9203, allocations: 31.95 kB / 1.183 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/0.9204, allocations: 35.98 kB / 1.183 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.9205, allocations: 15.95 kB / 1.183 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001562/0.9206, allocations: 160.5 kB / 1.183 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9206, allocations: 0 / 1.183 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008503/0.9215, allocations: 147.9 kB / 1.183 GB, free: 13.5 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.0002669/0.9218, allocations: 155 kB / 1.183 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001526/0.9233, allocations: 1.02 MB / 1.184 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9233, allocations: 4.438 kB / 1.184 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005875/0.9239, allocations: 435.2 kB / 1.185 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.9243, allocations: 50.25 kB / 1.185 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009118/0.9253, allocations: 0.5247 MB / 1.185 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.9257, allocations: 0.8201 MB / 1.186 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003645/0.9261, allocations: 120.5 kB / 1.186 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.606e-05/0.9262, allocations: 23.44 kB / 1.186 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of SimCode: time 3.41e-07/0.9262, allocations: 0 / 1.186 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of Templates: time 0.009316/0.9355, allocations: 5.499 MB / 1.192 GB, free: 4.801 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)