Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.671/2.671, allocations: 285 MB / 292.5 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002349/0.002349, allocations: 168.9 kB / 360.7 MB, free: 7.266 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.23/2.23, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 89.67 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.897e-05, allocations: 0 / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8482/0.8483, allocations: 115.2 MB / 0.9634 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2842/1.133, allocations: 167.6 MB / 1.127 GB, free: 4.82 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/1.133, allocations: 88.75 kB / 1.127 GB, free: 4.734 MB / 0.7292 GB [/var/lib/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.07056/1.204, allocations: 17.79 MB / 1.145 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.553e-06/1.204, allocations: 0 / 1.145 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.81e-05/1.204, allocations: 8 kB / 1.145 GB, free: 2.883 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.0009996/1.205, allocations: 0.5179 MB / 1.145 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/1.205, allocations: 12.03 kB / 1.145 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/1.206, allocations: 100.8 kB / 1.145 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/1.207, allocations: 275.3 kB / 1.145 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/1.207, allocations: 4 kB / 1.145 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/1.207, allocations: 13.97 kB / 1.145 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006083/1.207, allocations: 224.9 kB / 1.146 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007397/1.208, allocations: 317.3 kB / 1.146 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/1.208, allocations: 0 / 1.146 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/1.208, allocations: 7.984 kB / 1.146 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/1.208, allocations: 16.44 kB / 1.146 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/1.211, allocations: 1.695 MB / 1.148 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007567/1.212, allocations: 314.2 kB / 1.148 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/1.213, allocations: 97.62 kB / 1.148 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/1.213, allocations: 89.09 kB / 1.148 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/1.213, allocations: 32.06 kB / 1.148 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 2.856e-06/1.213, allocations: 4 kB / 1.148 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.002711/1.215, allocations: 0.681 MB / 1.149 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/1.216, allocations: 77.3 kB / 1.149 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/1.216, allocations: 179.3 kB / 1.149 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/1.216, allocations: 29.73 kB / 1.149 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/1.216, allocations: 171.8 kB / 1.149 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.717e-05/1.216, allocations: 78.84 kB / 1.149 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/1.216, allocations: 0 / 1.149 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.216, allocations: 336.2 kB / 1.15 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/1.217, allocations: 123.9 kB / 1.15 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/1.217, allocations: 199.8 kB / 1.15 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006802/1.218, allocations: 185.6 kB / 1.15 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.218, allocations: 0 / 1.15 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001665/1.219, allocations: 0.5047 MB / 1.151 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.219, allocations: 5.25 kB / 1.151 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.219, allocations: 4 kB / 1.151 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/1.22, allocations: 135.3 kB / 1.151 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/1.221, allocations: 55.97 kB / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003989/1.225, allocations: 3.856 MB / 1.155 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/1.225, allocations: 11.98 kB / 1.155 GB, free: 7.871 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/1.225, allocations: 18.42 kB / 1.155 GB, free: 7.855 MB / 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.0002187/1.225, allocations: 121.1 kB / 1.155 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/1.225, allocations: 23.91 kB / 1.155 GB, free: 7.707 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/1.227, allocations: 466.9 kB / 1.155 GB, free: 7.234 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/1.227, allocations: 11.95 kB / 1.155 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.227, allocations: 0 / 1.155 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.227, allocations: 0 / 1.155 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/1.23, allocations: 0.9517 MB / 1.156 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.23, allocations: 0 / 1.156 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/1.23, allocations: 31.98 kB / 1.156 GB, free: 6.16 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006361/1.231, allocations: 135.5 kB / 1.156 GB, free: 6.016 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/1.231, allocations: 7.953 kB / 1.156 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003777/1.235, allocations: 3.831 MB / 1.16 GB, free: 1.902 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/1.235, allocations: 3.938 kB / 1.16 GB, free: 1.898 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/1.236, allocations: 0.7348 MB / 1.161 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/1.236, allocations: 124.9 kB / 1.161 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/1.237, allocations: 7.984 kB / 1.161 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/1.237, allocations: 11.98 kB / 1.161 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/1.237, allocations: 35.77 kB / 1.161 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/1.237, allocations: 11.56 kB / 1.161 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001967/1.237, allocations: 156 kB / 1.161 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.71e-07/1.237, allocations: 0 / 1.161 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008056/1.238, allocations: 83.94 kB / 1.161 GB, free: 0.625 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.0002869/1.238, allocations: 140.7 kB / 1.161 GB, free: 492 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001293/1.24, allocations: 0.5229 MB / 1.162 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/1.24, allocations: 0 / 1.162 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007465/1.24, allocations: 368.4 kB / 1.162 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/1.241, allocations: 36.91 kB / 1.162 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/1.242, allocations: 457.8 kB / 1.163 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/1.243, allocations: 0.7865 MB / 1.163 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003317/1.243, allocations: 57.23 kB / 1.163 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.511e-05/1.243, allocations: 23.44 kB / 1.164 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of SimCode: time 7.61e-07/1.243, allocations: 0 / 1.164 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.01209/1.255, allocations: 3.697 MB / 1.167 GB, free: 10.53 MB / 0.7761 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)