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.001565/0.001565, allocations: 97.61 kB / 16.29 MB, free: 5.926 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.001545/0.001545, allocations: 178.8 kB / 17.22 MB, free: 5.555 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.562/1.562, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.966/1.966, allocations: 292.3 MB / 0.5495 GB, free: 17.64 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.001522/0.001522, allocations: 67.89 kB / 0.6722 GB, free: 6.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3143, allocations: 114.6 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005529/0.3199, allocations: 3.069 MB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4962/0.8161, allocations: 1.935 MB / 0.789 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.8164, allocations: 4.969 kB / 0.789 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009263/0.8173, allocations: 283.9 kB / 0.7892 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000469/0.8178, allocations: 193.1 kB / 0.7894 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006453/0.8184, allocations: 238.2 kB / 0.7896 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.8187, allocations: 327 kB / 0.79 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003175/0.8191, allocations: 185.7 kB / 0.7901 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.8192, allocations: 130.6 kB / 0.7903 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.8195, allocations: 144.7 kB / 0.7904 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.8195, allocations: 22.56 kB / 0.7904 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005595/0.8201, allocations: 404.4 kB / 0.7908 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.542e-05/0.8202, allocations: 85.91 kB / 0.7909 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.8203, allocations: 121.7 kB / 0.791 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005534/0.8209, allocations: 486.8 kB / 0.7915 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8209, allocations: 0 / 0.7915 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8209, allocations: 0 / 0.7915 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.8209, allocations: 0 / 0.7915 GB, free: 45.95 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.0007805/0.8217, allocations: 0.5602 MB / 0.792 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.8218, allocations: 8.844 kB / 0.792 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007787/0.8226, allocations: 112.5 kB / 0.7921 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.8228, allocations: 263 kB / 0.7924 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.8228, allocations: 16.02 kB / 0.7924 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.8229, allocations: 19.78 kB / 0.7924 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.8233, allocations: 354.4 kB / 0.7927 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.8234, allocations: 3.938 kB / 0.7928 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.8234, allocations: 10.94 kB / 0.7928 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/0.8234, allocations: 36.77 kB / 0.7928 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003947/0.8238, allocations: 291.4 kB / 0.7931 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.8255, allocations: 1.727 MB / 0.7948 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.8259, allocations: 321.1 kB / 0.7951 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.8261, allocations: 108.1 kB / 0.7952 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.214e-05/0.8262, allocations: 86.08 kB / 0.7953 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.8262, allocations: 46.31 kB / 0.7953 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.8262, allocations: 0.5 kB / 0.7953 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.002129/0.8284, allocations: 0.9531 MB / 0.7962 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.8284, allocations: 83.77 kB / 0.7963 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.8286, allocations: 218.6 kB / 0.7965 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.8286, allocations: 29.02 kB / 0.7965 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.8287, allocations: 167.1 kB / 0.7967 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.8287, allocations: 91.41 kB / 0.7968 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.8288, allocations: 63.53 kB / 0.7969 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.8289, allocations: 327.8 kB / 0.7972 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.829, allocations: 134.3 kB / 0.7973 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.8292, allocations: 208.9 kB / 0.7975 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.8296, allocations: 370.4 kB / 0.7978 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8297, allocations: 0 / 0.7978 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007625/0.8304, allocations: 0.5141 MB / 0.7983 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.8305, allocations: 9.531 kB / 0.7984 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8305, allocations: 2.688 kB / 0.7984 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004788/0.8309, allocations: 146.6 kB / 0.7985 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.8312, allocations: 63.78 kB / 0.7986 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.8335, allocations: 4.185 MB / 0.8026 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.8337, allocations: 19.38 kB / 0.8027 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.8337, allocations: 21 kB / 0.8027 GB, free: 38.68 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.0001833/0.8339, allocations: 164.7 kB / 0.8028 GB, free: 38.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-05/0.834, allocations: 25.88 kB / 0.8029 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009232/0.8349, allocations: 475.3 kB / 0.8033 GB, free: 38.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.8349, allocations: 1.156 kB / 0.8033 GB, free: 38.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.8349, allocations: 2.312 kB / 0.8033 GB, free: 38.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8349, allocations: 1.641 kB / 0.8033 GB, free: 38.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.8364, allocations: 1.003 MB / 0.8043 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.8364, allocations: 2.312 kB / 0.8043 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.8366, allocations: 42.41 kB / 0.8043 GB, free: 37.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/0.837, allocations: 137.9 kB / 0.8045 GB, free: 37.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.837, allocations: 7.75 kB / 0.8045 GB, free: 37.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.8392, allocations: 4.173 MB / 0.8086 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.8392, allocations: 3.766 kB / 0.8086 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.84, allocations: 0.6389 MB / 0.8092 GB, free: 33.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.8401, allocations: 125.4 kB / 0.8093 GB, free: 33.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.8402, allocations: 13.5 kB / 0.8093 GB, free: 33.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.8404, allocations: 18.5 kB / 0.8093 GB, free: 33.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.8404, allocations: 25.5 kB / 0.8094 GB, free: 33.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.8405, allocations: 8.125 kB / 0.8094 GB, free: 33.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001428/0.8406, allocations: 160.5 kB / 0.8095 GB, free: 33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8406, allocations: 0 / 0.8095 GB, free: 33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005487/0.8412, allocations: 86.89 kB / 0.8096 GB, free: 32.98 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.0002013/0.8414, allocations: 132.6 kB / 0.8097 GB, free: 32.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.8424, allocations: 0.5859 MB / 0.8103 GB, free: 32.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8424, allocations: 1.312 kB / 0.8103 GB, free: 32.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.8429, allocations: 402 kB / 0.8107 GB, free: 32.29 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.8435, allocations: 43.67 kB / 0.8107 GB, free: 32.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.8446, allocations: 0.6372 MB / 0.8114 GB, free: 31.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.845, allocations: 0.7819 MB / 0.8121 GB, free: 31.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.8452, allocations: 59.06 kB / 0.8122 GB, free: 31.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.8452, allocations: 19.86 kB / 0.8122 GB, free: 31.16 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.8452, allocations: 1.188 kB / 0.8122 GB, free: 31.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.0109/0.8561, allocations: 4.149 MB / 0.8162 GB, free: 30.96 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)