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.001096/0.001096, allocations: 108.1 kB / 16.37 MB, free: 5.527 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.00112/0.00112, allocations: 189.4 kB / 17.3 MB, free: 5.176 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.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.754/1.754, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001442/0.001443, allocations: 71.89 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2657, 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.005007/0.2707, allocations: 3.085 MB / 0.7878 GB, free: 48 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5108/0.7815, allocations: 1.923 MB / 0.7897 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.7818, allocations: 7.812 kB / 0.7897 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009737/0.7828, allocations: 284 kB / 0.79 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005768/0.7834, allocations: 193.1 kB / 0.7901 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.7842, allocations: 241.1 kB / 0.7904 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000359/0.7846, allocations: 316.5 kB / 0.7907 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.7849, allocations: 185.9 kB / 0.7908 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.7851, allocations: 133 kB / 0.791 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.7854, allocations: 150.5 kB / 0.7911 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.7855, allocations: 20.94 kB / 0.7911 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006035/0.7861, allocations: 398.3 kB / 0.7915 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.485e-05/0.7862, allocations: 88.3 kB / 0.7916 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.7863, allocations: 125.2 kB / 0.7917 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005739/0.7869, allocations: 483 kB / 0.7922 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.7869, allocations: 0 / 0.7922 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7869, allocations: 0 / 0.7922 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7869, allocations: 0 / 0.7922 GB, free: 46.45 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.0008842/0.7878, allocations: 0.5636 MB / 0.7927 GB, free: 46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.7879, allocations: 8.406 kB / 0.7927 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008078/0.7887, allocations: 110.2 kB / 0.7928 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.789, allocations: 268.1 kB / 0.7931 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.789, allocations: 15.48 kB / 0.7931 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.7891, allocations: 24.06 kB / 0.7931 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.7896, allocations: 360.3 kB / 0.7935 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.7896, allocations: 0 / 0.7935 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.7896, allocations: 3.375 kB / 0.7935 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/0.7897, allocations: 26.67 kB / 0.7935 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.7901, allocations: 295.5 kB / 0.7938 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.792, allocations: 1.735 MB / 0.7955 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.7925, allocations: 319.8 kB / 0.7958 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.7926, allocations: 102.7 kB / 0.7959 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-05/0.7927, allocations: 98.27 kB / 0.796 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.7927, allocations: 38.64 kB / 0.796 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.7927, allocations: 0 / 0.796 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.002317/0.7951, allocations: 0.9646 MB / 0.797 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.7951, allocations: 83.48 kB / 0.797 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.7953, allocations: 210.6 kB / 0.7972 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.7953, allocations: 29.39 kB / 0.7973 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/0.7954, allocations: 183 kB / 0.7974 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.7955, allocations: 78.56 kB / 0.7975 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.369e-05/0.7956, allocations: 59.77 kB / 0.7976 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.7957, allocations: 331.5 kB / 0.7979 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.7958, allocations: 128.9 kB / 0.798 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.7961, allocations: 209.2 kB / 0.7982 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.7965, allocations: 366.2 kB / 0.7986 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7965, allocations: 2.188 kB / 0.7986 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008001/0.7973, allocations: 0.5124 MB / 0.7991 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.7973, allocations: 5.844 kB / 0.7991 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.7973, allocations: 2.875 kB / 0.7991 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005065/0.7979, allocations: 152.8 kB / 0.7992 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.7981, allocations: 59.11 kB / 0.7993 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.8007, allocations: 4.186 MB / 0.8034 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.8009, allocations: 17.77 kB / 0.8034 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.801, allocations: 11.31 kB / 0.8034 GB, free: 38.93 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.0002023/0.8012, allocations: 167.4 kB / 0.8036 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.8013, allocations: 23.25 kB / 0.8036 GB, free: 38.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009294/0.8022, allocations: 475 kB / 0.804 GB, free: 38.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.8022, allocations: 4.125 kB / 0.804 GB, free: 38.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.8022, allocations: 1.719 kB / 0.804 GB, free: 38.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.8023, allocations: 7.938 kB / 0.804 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.8038, allocations: 1.006 MB / 0.805 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.8038, allocations: 2.562 kB / 0.805 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.804, allocations: 39.03 kB / 0.8051 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004427/0.8044, allocations: 137.9 kB / 0.8052 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.8045, allocations: 14.78 kB / 0.8052 GB, free: 37.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/0.8071, allocations: 4.171 MB / 0.8093 GB, free: 33.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.8072, allocations: 2.281 kB / 0.8093 GB, free: 33.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.8082, allocations: 0.6367 MB / 0.8099 GB, free: 33.44 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.8084, allocations: 126 kB / 0.81 GB, free: 33.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.8084, allocations: 12.73 kB / 0.81 GB, free: 33.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.8087, allocations: 23.52 kB / 0.8101 GB, free: 33.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.8088, allocations: 28.06 kB / 0.8101 GB, free: 33.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.8088, allocations: 10.61 kB / 0.8101 GB, free: 33.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001835/0.809, allocations: 155.6 kB / 0.8102 GB, free: 33.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.809, allocations: 0 / 0.8102 GB, free: 33.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006412/0.8096, allocations: 87.98 kB / 0.8103 GB, free: 33.19 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.0002604/0.8099, allocations: 133.9 kB / 0.8105 GB, free: 33.08 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.8111, allocations: 0.5825 MB / 0.811 GB, free: 32.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.8111, allocations: 1.75 kB / 0.811 GB, free: 32.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000612/0.8117, allocations: 404.6 kB / 0.8114 GB, free: 32.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/0.8123, allocations: 40.88 kB / 0.8115 GB, free: 32.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.8137, allocations: 0.6775 MB / 0.8121 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.8141, allocations: 0.7779 MB / 0.8129 GB, free: 31.33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.8141, allocations: 23.31 kB / 0.8129 GB, free: 31.32 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.8142, allocations: 4 kB / 0.8129 GB, free: 31.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.01632/0.8305, allocations: 7.606 MB / 0.8203 GB, free: 30.84 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)