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.666/1.666, allocations: 289.9 MB / 297.4 MB, free: 6.297 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.001096/0.001096, allocations: 176.9 kB / 366.7 MB, free: 1.629 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.657/1.657, allocations: 205.2 MB / 0.626 GB, free: 7.141 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.0008221/0.000822, allocations: 84.2 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.028e-05/2.033e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6916/0.6916, allocations: 116.3 MB / 0.9732 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2217/0.9133, allocations: 168.6 MB / 1.138 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.9137, allocations: 92.44 kB / 1.138 GB, free: 13.43 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.04302/0.9567, allocations: 18.07 MB / 1.156 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9568, allocations: 5.781 kB / 1.156 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.9568, allocations: 4 kB / 1.156 GB, free: 11.28 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007338/0.9575, allocations: 0.5218 MB / 1.156 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.9576, allocations: 8.031 kB / 1.156 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008338/0.9584, allocations: 105.4 kB / 1.156 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.9588, allocations: 270.6 kB / 1.157 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.9588, allocations: 4 kB / 1.157 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.9589, allocations: 12 kB / 1.157 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003634/0.9592, allocations: 228.8 kB / 1.157 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000447/0.9597, allocations: 312.3 kB / 1.157 GB, free: 9.73 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.9597, allocations: 4 kB / 1.157 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.9597, allocations: 4 kB / 1.157 GB, free: 9.723 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/0.9598, allocations: 20.42 kB / 1.157 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.9617, allocations: 1.682 MB / 1.159 GB, free: 7.867 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.9622, allocations: 322.1 kB / 1.159 GB, free: 7.52 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.9623, allocations: 93.69 kB / 1.159 GB, free: 7.422 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.9624, allocations: 93.09 kB / 1.159 GB, free: 7.312 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.9624, allocations: 34.03 kB / 1.159 GB, free: 7.273 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.9625, allocations: 0 / 1.159 GB, free: 7.273 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.001587/0.9641, allocations: 0.6931 MB / 1.16 GB, free: 6.562 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.9641, allocations: 77.3 kB / 1.16 GB, free: 6.469 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.9643, allocations: 183 kB / 1.16 GB, free: 6.281 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.9643, allocations: 25.7 kB / 1.16 GB, free: 6.25 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.9644, allocations: 171.8 kB / 1.16 GB, free: 6.078 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.022e-05/0.9645, allocations: 78.84 kB / 1.16 GB, free: 6 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/0.9645, allocations: 0 / 1.16 GB, free: 6 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.9646, allocations: 330.8 kB / 1.161 GB, free: 5.668 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.9648, allocations: 128 kB / 1.161 GB, free: 5.543 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.965, allocations: 201.1 kB / 1.161 GB, free: 5.312 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.9654, allocations: 185.8 kB / 1.161 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.9654, allocations: 0 / 1.161 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008892/0.9663, allocations: 0.4998 MB / 1.162 GB, free: 4.617 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.9663, allocations: 4 kB / 1.162 GB, free: 4.613 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9663, allocations: 4 kB / 1.162 GB, free: 4.609 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003785/0.9667, allocations: 139.4 kB / 1.162 GB, free: 4.461 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.967, allocations: 59.91 kB / 1.162 GB, free: 4.402 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.9696, allocations: 3.855 MB / 1.166 GB, free: 272 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.9698, allocations: 11.98 kB / 1.166 GB, free: 260 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.9698, allocations: 8 kB / 1.166 GB, free: 252 kB / 0.7605 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.idealACDCConverter1.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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001563/0.97, allocations: 117.1 kB / 1.166 GB, free: 128 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.9701, allocations: 27.7 kB / 1.166 GB, free: 100 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009124/0.971, allocations: 466.7 kB / 1.166 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.971, allocations: 4 kB / 1.166 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.971, allocations: 6.641 kB / 1.166 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.971, allocations: 3.984 kB / 1.166 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.9725, allocations: 0.9536 MB / 1.167 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.9725, allocations: 256 / 1.167 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.9727, allocations: 35.98 kB / 1.167 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003243/0.973, allocations: 135.3 kB / 1.167 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.973, allocations: 4 kB / 1.167 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/0.9756, allocations: 3.838 MB / 1.171 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.9756, allocations: 7.969 kB / 1.171 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009584/0.9766, allocations: 0.7267 MB / 1.172 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.9767, allocations: 124.9 kB / 1.172 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.9768, allocations: 3 kB / 1.172 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.977, allocations: 15.98 kB / 1.172 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.977, allocations: 35.77 kB / 1.172 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.9771, allocations: 8 kB / 1.172 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001264/0.9772, allocations: 152 kB / 1.172 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9772, allocations: 0 / 1.172 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005456/0.9778, allocations: 91.92 kB / 1.172 GB, free: 9.004 MB / 0.7761 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 (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.0002369/0.978, allocations: 144.7 kB / 1.172 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007833/0.9788, allocations: 0.511 MB / 1.173 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.9788, allocations: 0 / 1.173 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004662/0.9793, allocations: 378.9 kB / 1.173 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.9797, allocations: 30.98 kB / 1.173 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008025/0.9805, allocations: 458.9 kB / 1.174 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.9808, allocations: 0.7836 MB / 1.175 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.981, allocations: 60.75 kB / 1.175 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.9811, allocations: 23.44 kB / 1.175 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of SimCode: time 2.6e-07/0.9811, allocations: 0 / 1.175 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of Templates: time 0.007237/0.9883, allocations: 3.687 MB / 1.178 GB, free: 2.926 MB / 0.7761 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)