Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.82/1.82, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001415/0.001415, allocations: 189.1 kB / 377.1 MB, free: 1.508 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.826/1.826, allocations: 205.4 MB / 0.6367 GB, free: 8.613 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.001021/0.001021, allocations: 93.47 kB / 0.751 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003909, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3314, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9162/1.248, allocations: 169.4 MB / 1.154 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/1.248, allocations: 91.23 kB / 1.154 GB, free: 11.6 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.04172/1.29, allocations: 18.27 MB / 1.172 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.294e-06/1.29, allocations: 0 / 1.172 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.665e-05/1.29, allocations: 4 kB / 1.172 GB, free: 10.8 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009355/1.291, allocations: 0.5589 MB / 1.172 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/1.291, allocations: 12.02 kB / 1.172 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008953/1.292, allocations: 105.7 kB / 1.172 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/1.292, allocations: 262.5 kB / 1.173 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/1.292, allocations: 12.44 kB / 1.173 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/1.292, allocations: 23.44 kB / 1.173 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/1.293, allocations: 349.1 kB / 1.173 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/1.293, allocations: 0.625 kB / 1.173 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/1.293, allocations: 11.98 kB / 1.173 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/1.293, allocations: 20.42 kB / 1.173 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/1.293, allocations: 293.5 kB / 1.173 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/1.296, allocations: 1.74 MB / 1.175 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/1.296, allocations: 322.1 kB / 1.175 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/1.296, allocations: 93.03 kB / 1.175 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.296, allocations: 38.56 kB / 1.175 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/1.296, allocations: 0 / 1.175 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.002622/1.299, allocations: 0.9731 MB / 1.176 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/1.299, allocations: 85.33 kB / 1.176 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/1.299, allocations: 191.5 kB / 1.177 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/1.299, allocations: 29.7 kB / 1.177 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/1.299, allocations: 176 kB / 1.177 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.997e-05/1.3, allocations: 74.92 kB / 1.177 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/1.3, allocations: 4 kB / 1.177 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.3, allocations: 334.8 kB / 1.177 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/1.3, allocations: 127.9 kB / 1.177 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/1.3, allocations: 211.7 kB / 1.178 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/1.3, allocations: 163.9 kB / 1.178 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1.3, allocations: 0 / 1.178 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008566/1.301, allocations: 0.5045 MB / 1.178 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.301, allocations: 10.03 kB / 1.178 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.301, allocations: 8.984 kB / 1.178 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/1.302, allocations: 147.4 kB / 1.178 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/1.302, allocations: 56 kB / 1.178 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00328/1.305, allocations: 3.995 MB / 1.182 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/1.306, allocations: 17.36 kB / 1.182 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/1.306, allocations: 12 kB / 1.182 GB, free: 15.13 MB / 0.7605 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.0002271/1.306, allocations: 177 kB / 1.182 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/1.306, allocations: 15.81 kB / 1.183 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009173/1.307, allocations: 484.9 kB / 1.183 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.307, allocations: 0 / 1.183 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.307, allocations: 4.875 kB / 1.183 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.307, allocations: 0 / 1.183 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/1.309, allocations: 1.002 MB / 1.184 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/1.309, allocations: 3.984 kB / 1.184 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/1.309, allocations: 36.23 kB / 1.184 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/1.309, allocations: 148.3 kB / 1.184 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/1.309, allocations: 8.812 kB / 1.184 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002987/1.312, allocations: 3.979 MB / 1.188 GB, free: 8.848 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.312, allocations: 4 kB / 1.188 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009818/1.313, allocations: 0.7349 MB / 1.189 GB, free: 8.004 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/1.313, allocations: 128.7 kB / 1.189 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/1.313, allocations: 12 kB / 1.189 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/1.314, allocations: 19.98 kB / 1.189 GB, free: 7.828 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/1.314, allocations: 23.97 kB / 1.189 GB, free: 7.805 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/1.314, allocations: 8 kB / 1.189 GB, free: 7.797 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001636/1.314, allocations: 161.5 kB / 1.189 GB, free: 7.641 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.2e-07/1.314, allocations: 0 / 1.189 GB, free: 7.641 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000631/1.315, allocations: 99.94 kB / 1.189 GB, free: 7.543 MB / 0.7605 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.0002851/1.315, allocations: 147.1 kB / 1.189 GB, free: 7.391 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009121/1.316, allocations: 0.5563 MB / 1.19 GB, free: 6.812 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.316, allocations: 4.125 kB / 1.19 GB, free: 6.809 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004992/1.316, allocations: 393.2 kB / 1.19 GB, free: 6.398 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/1.317, allocations: 33.7 kB / 1.19 GB, free: 6.367 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/1.318, allocations: 0.7479 MB / 1.191 GB, free: 5.578 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/1.318, allocations: 0.7922 MB / 1.192 GB, free: 4.758 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001771/1.318, allocations: 55.5 kB / 1.192 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/1.319, allocations: 27.42 kB / 1.192 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of SimCode: time 4.2e-07/1.319, allocations: 0 / 1.192 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of Templates: time 0.007802/1.326, allocations: 3.845 MB / 1.196 GB, free: 0.8945 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)