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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001138, allocations: 106 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.00111, allocations: 192.4 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.83/1.83, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 75.88 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2471, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005175/0.2523, allocations: 3.062 MB / 0.7878 GB, free: 68 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.379/0.6314, allocations: 1.934 MB / 0.7896 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.6316, allocations: 5.5 kB / 0.7897 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009264/0.6325, allocations: 278.3 kB / 0.7899 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004386/0.633, allocations: 197.8 kB / 0.7901 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.6335, allocations: 237.7 kB / 0.7903 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.6338, allocations: 329.3 kB / 0.7906 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.6341, allocations: 181.7 kB / 0.7908 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.6343, allocations: 135 kB / 0.791 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.6346, allocations: 147.8 kB / 0.7911 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.6346, allocations: 19.91 kB / 0.7911 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005234/0.6352, allocations: 399 kB / 0.7915 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.366e-05/0.6353, allocations: 87.86 kB / 0.7916 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.6354, allocations: 119.5 kB / 0.7917 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005557/0.6359, allocations: 492.7 kB / 0.7922 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.636, allocations: 0.5312 kB / 0.7922 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.636, allocations: 6.188 kB / 0.7922 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.636, allocations: 0 / 0.7922 GB, free: 46.38 MB / 0.6544 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.0008351/0.6368, allocations: 0.5489 MB / 0.7927 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.6369, allocations: 10.31 kB / 0.7927 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007965/0.6377, allocations: 117.2 kB / 0.7928 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.638, allocations: 255.8 kB / 0.7931 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.638, allocations: 18.75 kB / 0.7931 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.638, allocations: 21.05 kB / 0.7931 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.6385, allocations: 352.7 kB / 0.7934 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.6385, allocations: 7.281 kB / 0.7934 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.6386, allocations: 11.14 kB / 0.7935 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/0.6386, allocations: 28.11 kB / 0.7935 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.639, allocations: 293.1 kB / 0.7938 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.6408, allocations: 1.734 MB / 0.7955 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.6412, allocations: 321.2 kB / 0.7958 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.6414, allocations: 103.7 kB / 0.7959 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.78e-05/0.6415, allocations: 88.91 kB / 0.7959 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.6415, allocations: 40.09 kB / 0.796 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.6415, allocations: 0.8906 kB / 0.796 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.002277/0.6438, allocations: 0.9651 MB / 0.7969 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.6438, allocations: 84.45 kB / 0.797 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.644, allocations: 215.7 kB / 0.7972 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.644, allocations: 32.23 kB / 0.7972 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.6441, allocations: 169.1 kB / 0.7974 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.6442, allocations: 85.48 kB / 0.7975 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.362e-05/0.6443, allocations: 64.45 kB / 0.7976 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.778e-05/0.6443, allocations: 328.7 kB / 0.7979 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.6445, allocations: 131.4 kB / 0.798 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.6447, allocations: 204.7 kB / 0.7982 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.6451, allocations: 372.7 kB / 0.7985 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6451, allocations: 2.406 kB / 0.7985 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007596/0.6459, allocations: 0.5055 MB / 0.799 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.6459, allocations: 6.719 kB / 0.799 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.6459, allocations: 2.219 kB / 0.799 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000494/0.6464, allocations: 159.4 kB / 0.7992 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.6467, allocations: 59.11 kB / 0.7993 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.6488, allocations: 4.185 MB / 0.8033 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.649, allocations: 19.53 kB / 0.8034 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.6491, allocations: 13.5 kB / 0.8034 GB, free: 38.86 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.6493, allocations: 170.7 kB / 0.8035 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.6493, allocations: 21.12 kB / 0.8036 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008346/0.6502, allocations: 468.5 kB / 0.804 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.6502, allocations: 4.781 kB / 0.804 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6502, allocations: 3.438 kB / 0.804 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.6502, allocations: 2.859 kB / 0.804 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.6516, allocations: 1.008 MB / 0.805 GB, free: 37.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6517, allocations: 3.688 kB / 0.805 GB, free: 37.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.6518, allocations: 34.5 kB / 0.805 GB, free: 37.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000368/0.6522, allocations: 141.5 kB / 0.8052 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.6522, allocations: 7.438 kB / 0.8052 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/0.6544, allocations: 4.182 MB / 0.8093 GB, free: 33.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6544, allocations: 5.094 kB / 0.8093 GB, free: 33.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007989/0.6553, allocations: 0.6284 MB / 0.8099 GB, free: 33.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.6554, allocations: 125.5 kB / 0.81 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.6554, allocations: 13.39 kB / 0.81 GB, free: 33.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.6557, allocations: 22.47 kB / 0.81 GB, free: 33.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.6558, allocations: 25.56 kB / 0.8101 GB, free: 33.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.6558, allocations: 8.719 kB / 0.8101 GB, free: 33.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001452/0.6559, allocations: 155 kB / 0.8102 GB, free: 33.13 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.656, allocations: 0 / 0.8102 GB, free: 33.13 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005548/0.6565, allocations: 87.77 kB / 0.8103 GB, free: 33.12 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000185/0.6567, allocations: 137.2 kB / 0.8104 GB, free: 33.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009702/0.6577, allocations: 0.5857 MB / 0.811 GB, free: 32.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6577, allocations: 4.812 kB / 0.811 GB, free: 32.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004971/0.6582, allocations: 405.5 kB / 0.8114 GB, free: 32.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006207/0.6588, allocations: 41.38 kB / 0.8114 GB, free: 32.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.6599, allocations: 0.6352 MB / 0.812 GB, free: 32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.6602, allocations: 0.7815 MB / 0.8128 GB, free: 31.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001824/0.6604, allocations: 56.69 kB / 0.8129 GB, free: 31.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.6604, allocations: 20.5 kB / 0.8129 GB, free: 31.28 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.6604, allocations: 4 kB / 0.8129 GB, free: 31.28 MB / 0.6544 GB Notification: Performance of Templates: time 0.01169/0.6721, allocations: 4.155 MB / 0.8169 GB, free: 31.07 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)