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.001162/0.001162, allocations: 104 kB / 16.36 MB, free: 6.262 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.001124/0.001124, allocations: 194.1 kB / 17.3 MB, free: 5.848 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.564/1.564, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.941/1.941, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001462/0.001462, allocations: 67.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3009, allocations: 114.5 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005159/0.3062, allocations: 3.071 MB / 0.7878 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5533/0.8595, allocations: 1.921 MB / 0.7897 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.8597, allocations: 9.812 kB / 0.7897 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008877/0.8606, allocations: 281.5 kB / 0.7899 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004409/0.8611, allocations: 198.8 kB / 0.7901 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005988/0.8617, allocations: 236.1 kB / 0.7904 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.862, allocations: 326.7 kB / 0.7907 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/0.8624, allocations: 186 kB / 0.7908 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.8625, allocations: 129.3 kB / 0.791 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.8628, allocations: 150.2 kB / 0.7911 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.8629, allocations: 21.53 kB / 0.7911 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005325/0.8634, allocations: 394.6 kB / 0.7915 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.196e-05/0.8635, allocations: 93.91 kB / 0.7916 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.8636, allocations: 123.7 kB / 0.7917 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.8641, allocations: 485.5 kB / 0.7922 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.8641, allocations: 3.469 kB / 0.7922 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8641, allocations: 0 / 0.7922 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.8642, allocations: 0 / 0.7922 GB, free: 46.41 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.0008511/0.865, allocations: 0.5534 MB / 0.7927 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.8651, allocations: 14.19 kB / 0.7927 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007991/0.8659, allocations: 109.5 kB / 0.7928 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.8662, allocations: 264.7 kB / 0.7931 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.8662, allocations: 19.42 kB / 0.7931 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.8662, allocations: 17.81 kB / 0.7931 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.8667, allocations: 354 kB / 0.7935 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.8667, allocations: 5.438 kB / 0.7935 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.8668, allocations: 8.188 kB / 0.7935 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.109e-05/0.8668, allocations: 31.12 kB / 0.7935 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.8672, allocations: 293.5 kB / 0.7938 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.8689, allocations: 1.741 MB / 0.7955 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.8693, allocations: 317.1 kB / 0.7958 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.8695, allocations: 102.5 kB / 0.7959 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.99e-05/0.8696, allocations: 91.27 kB / 0.796 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.8696, allocations: 38.09 kB / 0.796 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.8696, allocations: 0 / 0.796 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.002207/0.8718, allocations: 0.9594 MB / 0.7969 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.8718, allocations: 80.67 kB / 0.797 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.872, allocations: 225.6 kB / 0.7972 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.8721, allocations: 28.95 kB / 0.7973 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.8721, allocations: 173.1 kB / 0.7974 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.8722, allocations: 83.02 kB / 0.7975 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.585e-05/0.8723, allocations: 59.23 kB / 0.7976 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.8723, allocations: 331.4 kB / 0.7979 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.8725, allocations: 128.3 kB / 0.798 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.8727, allocations: 212 kB / 0.7982 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.8731, allocations: 365.4 kB / 0.7986 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8731, allocations: 2.969 kB / 0.7986 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007906/0.8739, allocations: 0.5162 MB / 0.7991 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.874, allocations: 5.219 kB / 0.7991 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.874, allocations: 2.688 kB / 0.7991 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004803/0.8745, allocations: 146.5 kB / 0.7992 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.8747, allocations: 61.91 kB / 0.7993 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.8772, allocations: 4.189 MB / 0.8034 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.8774, allocations: 20.44 kB / 0.8034 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.8774, allocations: 15.66 kB / 0.8034 GB, free: 38.85 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.0001967/0.8776, allocations: 162.2 kB / 0.8036 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.685e-05/0.8777, allocations: 25.38 kB / 0.8036 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009761/0.8787, allocations: 471.5 kB / 0.804 GB, free: 38.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.8787, allocations: 3.266 kB / 0.804 GB, free: 38.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.8787, allocations: 6.719 kB / 0.804 GB, free: 38.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.8789, allocations: 127 kB / 0.8042 GB, free: 38.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.8789, allocations: 2.812 kB / 0.8042 GB, free: 38.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.8792, allocations: 17.19 kB / 0.8042 GB, free: 38.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.8792, allocations: 22.62 kB / 0.8042 GB, free: 38.35 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009694/0.8802, allocations: 0.6168 MB / 0.8048 GB, free: 38.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000755/0.881, allocations: 0.7367 MB / 0.8055 GB, free: 37.55 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000208/0.8812, allocations: 145.4 kB / 0.8057 GB, free: 37.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001288/0.8813, allocations: 161.5 kB / 0.8058 GB, free: 37.4 MB / 0.6544 GB Notification: Performance of Backend: time 6.01e-07/0.8813, allocations: 0 / 0.8058 GB, free: 37.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001769/0.8831, allocations: 0.7237 MB / 0.8065 GB, free: 37 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001118/0.8842, allocations: 1.009 MB / 0.8075 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of Templates: time 0.01583/0.9001, allocations: 5.61 MB / 0.813 GB, free: 35.83 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)