Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.109/2.109, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001345, allocations: 174.5 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.459/2.459, allocations: 205.4 MB / 0.5772 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009335/0.0009332, allocations: 100.9 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006292/0.0006294, allocations: 17.36 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2167, allocations: 106.3 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9739/1.191, allocations: 162 MB / 1.058 GB, free: 64.84 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005886/1.191, allocations: 97.05 kB / 1.058 GB, free: 64.84 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.0787/1.27, allocations: 18.04 MB / 1.075 GB, free: 63.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/1.27, allocations: 5.031 kB / 1.075 GB, free: 63.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.478e-05/1.27, allocations: 7.875 kB / 1.075 GB, free: 63.16 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.001139/1.271, allocations: 0.5388 MB / 1.076 GB, free: 62.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/1.271, allocations: 10.03 kB / 1.076 GB, free: 62.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/1.273, allocations: 106.8 kB / 1.076 GB, free: 62.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/1.273, allocations: 267 kB / 1.076 GB, free: 62.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/1.273, allocations: 20.09 kB / 1.076 GB, free: 62.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/1.273, allocations: 20.25 kB / 1.076 GB, free: 62.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/1.274, allocations: 340.3 kB / 1.077 GB, free: 62.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/1.274, allocations: 5.219 kB / 1.077 GB, free: 62.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.743e-05/1.274, allocations: 13.97 kB / 1.077 GB, free: 62.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.037e-05/1.274, allocations: 27.39 kB / 1.077 GB, free: 62.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007777/1.275, allocations: 290.5 kB / 1.077 GB, free: 62.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/1.278, allocations: 1.738 MB / 1.079 GB, free: 61.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/1.279, allocations: 315.7 kB / 1.079 GB, free: 60.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/1.279, allocations: 101.9 kB / 1.079 GB, free: 60.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/1.279, allocations: 94.95 kB / 1.079 GB, free: 60.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/1.279, allocations: 40.06 kB / 1.079 GB, free: 60.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 3.076e-06/1.279, allocations: 3.938 kB / 1.079 GB, free: 60.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.004062/1.283, allocations: 0.9686 MB / 1.08 GB, free: 60.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/1.284, allocations: 84.11 kB / 1.08 GB, free: 60.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/1.284, allocations: 217.8 kB / 1.08 GB, free: 60.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/1.284, allocations: 34.8 kB / 1.08 GB, free: 60.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.28e-05/1.284, allocations: 164.3 kB / 1.081 GB, free: 60.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.54e-05/1.284, allocations: 84.09 kB / 1.081 GB, free: 60.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/1.284, allocations: 5.188 kB / 1.081 GB, free: 60.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.246e-05/1.284, allocations: 332.5 kB / 1.081 GB, free: 59.83 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/1.285, allocations: 128.2 kB / 1.081 GB, free: 59.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/1.285, allocations: 212.1 kB / 1.081 GB, free: 59.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/1.285, allocations: 166.7 kB / 1.082 GB, free: 59.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.285, allocations: 0 / 1.082 GB, free: 59.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001424/1.287, allocations: 0.5103 MB / 1.082 GB, free: 59.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/1.287, allocations: 12.3 kB / 1.082 GB, free: 59.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.287, allocations: 2.938 kB / 1.082 GB, free: 59.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008204/1.288, allocations: 150.9 kB / 1.082 GB, free: 59.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/1.288, allocations: 56.44 kB / 1.082 GB, free: 59.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/1.291, allocations: 3.954 MB / 1.086 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/1.292, allocations: 22.61 kB / 1.086 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/1.292, allocations: 15.12 kB / 1.086 GB, free: 56 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.0002726/1.292, allocations: 162.2 kB / 1.086 GB, free: 55.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/1.292, allocations: 28.2 kB / 1.086 GB, free: 55.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/1.294, allocations: 475.1 kB / 1.087 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/1.294, allocations: 14.44 kB / 1.087 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.294, allocations: 1.156 kB / 1.087 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.294, allocations: 3.453 kB / 1.087 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/1.296, allocations: 1.003 MB / 1.088 GB, free: 55.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.296, allocations: 3.156 kB / 1.088 GB, free: 55.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/1.297, allocations: 34 kB / 1.088 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007048/1.297, allocations: 146.7 kB / 1.088 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/1.297, allocations: 4.125 kB / 1.088 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003184/1.301, allocations: 3.954 MB / 1.092 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.301, allocations: 3.094 kB / 1.092 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/1.302, allocations: 0.6259 MB / 1.092 GB, free: 51.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/1.302, allocations: 130.2 kB / 1.093 GB, free: 51.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/1.302, allocations: 7.688 kB / 1.093 GB, free: 51.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/1.302, allocations: 17.16 kB / 1.093 GB, free: 51.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.722e-05/1.303, allocations: 33.52 kB / 1.093 GB, free: 51.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/1.303, allocations: 11.62 kB / 1.093 GB, free: 51.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001951/1.303, allocations: 154.3 kB / 1.093 GB, free: 51.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.303, allocations: 0 / 1.093 GB, free: 51.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007873/1.304, allocations: 105.1 kB / 1.093 GB, free: 51.17 MB / 0.698 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.000261/1.304, allocations: 144.3 kB / 1.093 GB, free: 51.06 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00129/1.305, allocations: 0.5532 MB / 1.094 GB, free: 50.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.305, allocations: 0.625 kB / 1.094 GB, free: 50.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007012/1.306, allocations: 404.1 kB / 1.094 GB, free: 50.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/1.307, allocations: 44.52 kB / 1.094 GB, free: 50.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/1.308, allocations: 0.7287 MB / 1.095 GB, free: 50.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/1.308, allocations: 0.7846 MB / 1.095 GB, free: 49.47 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003024/1.309, allocations: 55.02 kB / 1.096 GB, free: 49.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/1.309, allocations: 19.19 kB / 1.096 GB, free: 49.46 MB / 0.698 GB Notification: Performance of SimCode: time 1.123e-06/1.309, allocations: 0 / 1.096 GB, free: 49.46 MB / 0.698 GB Notification: Performance of Templates: time 0.01118/1.32, allocations: 3.893 MB / 1.099 GB, free: 49.19 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)