Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 252 MB / 267.6 MB, free: 10.96 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.00106/0.00106, allocations: 184.6 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.4 MB / 0.5783 GB, free: 20.55 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.0007598/0.0007598, allocations: 87.94 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 8.938 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2023, allocations: 106.3 MB / 0.9008 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002698/0.205, allocations: 2.665 MB / 0.9034 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.207, allocations: 1.81 MB / 0.9052 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.2071, allocations: 8 kB / 0.9052 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.2073, allocations: 31.72 kB / 0.9052 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.2076, allocations: 151.3 kB / 0.9054 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.208, allocations: 167.5 kB / 0.9055 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.2083, allocations: 370.8 kB / 0.9059 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004696/0.2088, allocations: 314 kB / 0.9062 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.2089, allocations: 107.5 kB / 0.9063 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.2091, allocations: 131.5 kB / 0.9064 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.2092, allocations: 12 kB / 0.9064 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.2095, allocations: 259.6 kB / 0.9067 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.2096, allocations: 71.78 kB / 0.9067 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.2097, allocations: 69.58 kB / 0.9068 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.21, allocations: 359.4 kB / 0.9072 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.21, allocations: 0 / 0.9072 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.21, allocations: 0 / 0.9072 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.21, allocations: 0 / 0.9072 GB, free: 57.79 MB / 0.6042 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.0006844/0.2107, allocations: 0.5222 MB / 0.9077 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2107, allocations: 8.031 kB / 0.9077 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006915/0.2114, allocations: 115.5 kB / 0.9078 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.2117, allocations: 257.3 kB / 0.908 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.2117, allocations: 16.44 kB / 0.908 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.2118, allocations: 16 kB / 0.9081 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.2122, allocations: 349.1 kB / 0.9084 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2122, allocations: 0 / 0.9084 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.2123, allocations: 12 kB / 0.9084 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.2123, allocations: 28.41 kB / 0.9084 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.2127, allocations: 293.5 kB / 0.9087 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.2143, allocations: 1.741 MB / 0.9104 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.2147, allocations: 325.1 kB / 0.9107 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.2148, allocations: 109.7 kB / 0.9108 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.332e-05/0.2149, allocations: 85.11 kB / 0.9109 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.2149, allocations: 38.55 kB / 0.9109 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.215, allocations: 0 / 0.9109 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.002119/0.2171, allocations: 0.9753 MB / 0.9119 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.2171, allocations: 81.3 kB / 0.912 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.2173, allocations: 220.3 kB / 0.9122 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.2173, allocations: 29.7 kB / 0.9122 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.2174, allocations: 168.2 kB / 0.9124 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.2174, allocations: 74.91 kB / 0.9124 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.2174, allocations: 8 kB / 0.9125 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.2175, allocations: 330.8 kB / 0.9128 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.2177, allocations: 131.9 kB / 0.9129 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.2178, allocations: 213.2 kB / 0.9131 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.218, allocations: 161.5 kB / 0.9133 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.218, allocations: 3.984 kB / 0.9133 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006779/0.2187, allocations: 0.516 MB / 0.9138 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2188, allocations: 11.95 kB / 0.9138 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2188, allocations: 0 / 0.9138 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004538/0.2192, allocations: 147.3 kB / 0.9139 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.2195, allocations: 59.91 kB / 0.914 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.2213, allocations: 3.965 MB / 0.9178 GB, free: 46.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.2215, allocations: 15.98 kB / 0.9179 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.2215, allocations: 19.98 kB / 0.9179 GB, free: 46 MB / 0.6042 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.0001333/0.2217, allocations: 161.8 kB / 0.918 GB, free: 45.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.2217, allocations: 23.72 kB / 0.9181 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006816/0.2224, allocations: 474.5 kB / 0.9185 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2224, allocations: 0 / 0.9185 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.2224, allocations: 4 kB / 0.9185 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2225, allocations: 0 / 0.9185 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.2236, allocations: 1.008 MB / 0.9195 GB, free: 44.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2236, allocations: 0 / 0.9195 GB, free: 44.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.2238, allocations: 31.98 kB / 0.9195 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003597/0.2241, allocations: 155.5 kB / 0.9197 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.2242, allocations: 8 kB / 0.9197 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.2259, allocations: 3.934 MB / 0.9235 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.2259, allocations: 4 kB / 0.9235 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.2265, allocations: 0.626 MB / 0.9241 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.2266, allocations: 136.6 kB / 0.9243 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.2267, allocations: 8 kB / 0.9243 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.2269, allocations: 19.98 kB / 0.9243 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.2269, allocations: 31.91 kB / 0.9243 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.227, allocations: 12 kB / 0.9243 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001018/0.2271, allocations: 149.5 kB / 0.9245 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.72e-07/0.2271, allocations: 0 / 0.9245 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004423/0.2275, allocations: 95.94 kB / 0.9246 GB, free: 38.62 MB / 0.6042 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.0001731/0.2277, allocations: 135.2 kB / 0.9247 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007221/0.2284, allocations: 0.5602 MB / 0.9252 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2284, allocations: 0.625 kB / 0.9252 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.2288, allocations: 401.1 kB / 0.9256 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.2293, allocations: 51.7 kB / 0.9257 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000825/0.2301, allocations: 0.7629 MB / 0.9264 GB, free: 36.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.2304, allocations: 0.7871 MB / 0.9272 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.2304, allocations: 19.44 kB / 0.9272 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2304, allocations: 0 / 0.9272 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.00724/0.2377, allocations: 7.587 MB / 0.9346 GB, free: 28.18 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)