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.828/1.828, allocations: 289.7 MB / 302.2 MB, free: 2.105 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.001002/0.001002, allocations: 181.7 kB / 371.6 MB, free: 3.398 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.597/1.597, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009468/0.0009468, allocations: 91.53 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.621e-05/3.624e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2848, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9112/1.196, allocations: 169.3 MB / 1.145 GB, free: 23.16 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/1.196, allocations: 93.55 kB / 1.145 GB, free: 23.13 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.0478/1.244, allocations: 18.13 MB / 1.163 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.893e-06/1.244, allocations: 0 / 1.163 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.724e-05/1.244, allocations: 4 kB / 1.163 GB, free: 13.71 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.0008145/1.245, allocations: 0.5318 MB / 1.163 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.245, allocations: 8.031 kB / 1.163 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008648/1.246, allocations: 109.4 kB / 1.164 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/1.246, allocations: 250.7 kB / 1.164 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/1.246, allocations: 22.5 kB / 1.164 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/1.247, allocations: 15.44 kB / 1.164 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/1.247, allocations: 347.2 kB / 1.164 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.247, allocations: 4 kB / 1.164 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/1.247, allocations: 14.98 kB / 1.164 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/1.247, allocations: 23.28 kB / 1.164 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/1.248, allocations: 290.1 kB / 1.164 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/1.249, allocations: 1.736 MB / 1.166 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/1.25, allocations: 319.8 kB / 1.166 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/1.25, allocations: 105.7 kB / 1.167 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.524e-05/1.25, allocations: 92.19 kB / 1.167 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/1.25, allocations: 33.94 kB / 1.167 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/1.25, allocations: 0 / 1.167 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.00211/1.252, allocations: 0.8067 MB / 1.167 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/1.252, allocations: 81.3 kB / 1.168 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/1.252, allocations: 190.9 kB / 1.168 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/1.252, allocations: 33.2 kB / 1.168 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/1.253, allocations: 171.8 kB / 1.168 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/1.253, allocations: 80.56 kB / 1.168 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/1.253, allocations: 11.25 kB / 1.168 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.505e-05/1.253, allocations: 328.2 kB / 1.168 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/1.253, allocations: 126.1 kB / 1.168 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/1.253, allocations: 206.6 kB / 1.169 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/1.253, allocations: 162.1 kB / 1.169 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/1.253, allocations: 3.938 kB / 1.169 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007336/1.254, allocations: 0.5037 MB / 1.169 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.254, allocations: 4.781 kB / 1.169 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.254, allocations: 4 kB / 1.169 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004788/1.255, allocations: 148.3 kB / 1.169 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/1.255, allocations: 64.94 kB / 1.169 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/1.257, allocations: 3.955 MB / 1.173 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/1.257, allocations: 17.61 kB / 1.173 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/1.257, allocations: 17.16 kB / 1.173 GB, free: 4.324 MB / 0.7448 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 () * 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 9.075e-05/1.257, allocations: 125.9 kB / 1.174 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/1.257, allocations: 15.81 kB / 1.174 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008212/1.258, allocations: 471 kB / 1.174 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.258, allocations: 4 kB / 1.174 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.258, allocations: 0 / 1.174 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/1.258, allocations: 5.344 kB / 1.174 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/1.26, allocations: 1.017 MB / 1.175 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.26, allocations: 3.938 kB / 1.175 GB, free: 3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/1.26, allocations: 31.98 kB / 1.175 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003527/1.26, allocations: 146.2 kB / 1.175 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/1.26, allocations: 7.438 kB / 1.175 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/1.262, allocations: 3.939 MB / 1.179 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.262, allocations: 0 / 1.179 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009057/1.263, allocations: 0.7339 MB / 1.18 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/1.264, allocations: 126.2 kB / 1.18 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/1.264, allocations: 7.438 kB / 1.18 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/1.264, allocations: 19.97 kB / 1.18 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/1.264, allocations: 27.61 kB / 1.18 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/1.264, allocations: 19.19 kB / 1.18 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001501/1.264, allocations: 153.1 kB / 1.18 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.2e-07/1.264, allocations: 0 / 1.18 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005714/1.265, allocations: 102.4 kB / 1.18 GB, free: 13.67 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 () * 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.0002693/1.265, allocations: 138.5 kB / 1.18 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000888/1.266, allocations: 0.5503 MB / 1.181 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/1.266, allocations: 7.938 kB / 1.181 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000488/1.266, allocations: 391.5 kB / 1.181 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/1.267, allocations: 42.5 kB / 1.181 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007721/1.267, allocations: 467.3 kB / 1.182 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/1.268, allocations: 0.8029 MB / 1.182 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001792/1.268, allocations: 58.91 kB / 1.183 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/1.268, allocations: 23.42 kB / 1.183 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of SimCode: time 2.81e-07/1.268, allocations: 0 / 1.183 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of Templates: time 0.007787/1.276, allocations: 3.85 MB / 1.186 GB, free: 7.531 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)