Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.519/2.519, allocations: 287.5 MB / 303.2 MB, free: 8.238 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.001336/0.001336, allocations: 178.6 kB / 371.8 MB, free: 10.82 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.156/2.156, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009188/0.0009184, allocations: 100.6 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005001/0.0005003, allocations: 14.69 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2096, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9581/1.168, allocations: 168.4 MB / 1.144 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/1.168, allocations: 99.06 kB / 1.144 GB, free: 12.25 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.06617/1.234, allocations: 18.03 MB / 1.161 GB, free: 16.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/1.234, allocations: 0 / 1.161 GB, free: 16.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.303e-05/1.234, allocations: 4 kB / 1.161 GB, free: 16.39 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001041/1.235, allocations: 0.5411 MB / 1.162 GB, free: 15.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.236, allocations: 8.031 kB / 1.162 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/1.237, allocations: 112.5 kB / 1.162 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/1.237, allocations: 263.6 kB / 1.162 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/1.237, allocations: 12.19 kB / 1.162 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/1.238, allocations: 27.42 kB / 1.162 GB, free: 15.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007868/1.238, allocations: 347.6 kB / 1.163 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/1.238, allocations: 192 / 1.163 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-05/1.238, allocations: 18.97 kB / 1.163 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.134e-05/1.238, allocations: 20.38 kB / 1.163 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/1.239, allocations: 297.6 kB / 1.163 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003365/1.243, allocations: 1.734 MB / 1.165 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/1.243, allocations: 322.2 kB / 1.165 GB, free: 12.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/1.244, allocations: 100.6 kB / 1.165 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/1.244, allocations: 89.09 kB / 1.165 GB, free: 12.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/1.244, allocations: 38.53 kB / 1.165 GB, free: 12.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.766e-06/1.244, allocations: 3.938 kB / 1.165 GB, free: 12.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.004189/1.248, allocations: 0.9758 MB / 1.166 GB, free: 11.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/1.248, allocations: 85.14 kB / 1.166 GB, free: 11.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/1.249, allocations: 215.1 kB / 1.166 GB, free: 11.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/1.249, allocations: 28.64 kB / 1.166 GB, free: 11.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/1.249, allocations: 169.5 kB / 1.167 GB, free: 11.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/1.249, allocations: 89.47 kB / 1.167 GB, free: 11.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/1.249, allocations: 3.812 kB / 1.167 GB, free: 11.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.249, allocations: 329 kB / 1.167 GB, free: 11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/1.25, allocations: 130.5 kB / 1.167 GB, free: 10.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/1.25, allocations: 211.1 kB / 1.167 GB, free: 10.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007619/1.251, allocations: 361.7 kB / 1.168 GB, free: 10.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.251, allocations: 8 kB / 1.168 GB, free: 10.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001529/1.252, allocations: 0.5056 MB / 1.168 GB, free: 10.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/1.252, allocations: 8.312 kB / 1.168 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/1.252, allocations: 4 kB / 1.168 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008045/1.253, allocations: 155.5 kB / 1.168 GB, free: 9.914 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/1.254, allocations: 59.91 kB / 1.168 GB, free: 9.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/1.258, allocations: 3.962 MB / 1.172 GB, free: 5.809 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/1.258, allocations: 15.42 kB / 1.172 GB, free: 5.797 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/1.258, allocations: 19.17 kB / 1.172 GB, free: 5.781 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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.0002772/1.259, allocations: 158.8 kB / 1.172 GB, free: 5.637 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.326e-05/1.259, allocations: 22.88 kB / 1.172 GB, free: 5.617 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/1.26, allocations: 479.5 kB / 1.173 GB, free: 5.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.26, allocations: 4 kB / 1.173 GB, free: 5.266 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.26, allocations: 8 kB / 1.173 GB, free: 5.258 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.26, allocations: 0 / 1.173 GB, free: 5.258 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/1.263, allocations: 1.005 MB / 1.174 GB, free: 4.367 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.263, allocations: 7.984 kB / 1.174 GB, free: 4.359 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/1.263, allocations: 31.92 kB / 1.174 GB, free: 4.328 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007108/1.264, allocations: 144 kB / 1.174 GB, free: 4.199 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/1.264, allocations: 11.42 kB / 1.174 GB, free: 4.191 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003965/1.268, allocations: 3.945 MB / 1.178 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.268, allocations: 7.938 kB / 1.178 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/1.269, allocations: 0.6254 MB / 1.179 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/1.27, allocations: 127.7 kB / 1.179 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/1.27, allocations: 11.88 kB / 1.179 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/1.27, allocations: 23.72 kB / 1.179 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/1.27, allocations: 31.64 kB / 1.179 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/1.27, allocations: 15.73 kB / 1.179 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002228/1.27, allocations: 145.8 kB / 1.179 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.27, allocations: 4 kB / 1.179 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007908/1.271, allocations: 102.8 kB / 1.179 GB, free: 15.16 MB / 0.7136 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002969/1.272, allocations: 150.6 kB / 1.179 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001399/1.273, allocations: 0.5472 MB / 1.18 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.273, allocations: 0 / 1.18 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008264/1.274, allocations: 407.8 kB / 1.18 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008228/1.275, allocations: 45.84 kB / 1.18 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/1.276, allocations: 0.723 MB / 1.181 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/1.277, allocations: 0.7785 MB / 1.182 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003532/1.277, allocations: 70.19 kB / 1.182 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/1.277, allocations: 27.17 kB / 1.182 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/1.277, allocations: 0 / 1.182 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of Templates: time 0.01245/1.29, allocations: 3.876 MB / 1.186 GB, free: 8.703 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)