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.31/1.31, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009904/0.0009904, allocations: 176.7 kB / 326.5 MB, free: 2.684 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.686/1.686, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0008942/0.0008942, allocations: 89.86 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 11.12 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1943, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003139/0.1974, allocations: 2.782 MB / 0.8995 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002425/0.1999, allocations: 1.98 MB / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.2001, allocations: 4 kB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007776/0.2009, allocations: 263.1 kB / 0.9016 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.2014, allocations: 179.3 kB / 0.9018 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.2019, allocations: 207.5 kB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.2023, allocations: 446.8 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000329/0.2027, allocations: 169 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.2029, allocations: 107.5 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.2031, allocations: 151.4 kB / 0.9028 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.531e-05/0.2032, allocations: 8 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005805/0.2038, allocations: 471.1 kB / 0.9033 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.648e-05/0.2039, allocations: 83.72 kB / 0.9034 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.622e-05/0.204, allocations: 99.42 kB / 0.9035 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004455/0.2044, allocations: 367.1 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2044, allocations: 0 / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2045, allocations: 0 / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.2045, allocations: 0 / 0.9038 GB, free: 60.86 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.0006898/0.2052, allocations: 0.5224 MB / 0.9043 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2052, allocations: 8.031 kB / 0.9043 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007773/0.206, allocations: 116.5 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.2063, allocations: 260.6 kB / 0.9047 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.2063, allocations: 16.8 kB / 0.9047 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.2064, allocations: 16.38 kB / 0.9047 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.2068, allocations: 357.3 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2068, allocations: 3.938 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.2069, allocations: 12 kB / 0.9051 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/0.2069, allocations: 20.42 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.2073, allocations: 297.5 kB / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.209, allocations: 1.745 MB / 0.9071 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.2095, allocations: 325.2 kB / 0.9074 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.2096, allocations: 105.6 kB / 0.9075 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.2097, allocations: 89.09 kB / 0.9076 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.2098, allocations: 38.5 kB / 0.9076 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.2098, allocations: 0 / 0.9076 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.002498/0.2123, allocations: 0.962 MB / 0.9086 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.2123, allocations: 97 kB / 0.9087 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.2125, allocations: 216.3 kB / 0.9089 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.2125, allocations: 29.7 kB / 0.9089 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.2126, allocations: 168.2 kB / 0.9091 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.2127, allocations: 74.91 kB / 0.9091 GB, free: 55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.2127, allocations: 33.7 kB / 0.9092 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.491e-05/0.2128, allocations: 330.8 kB / 0.9095 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.213, allocations: 123.9 kB / 0.9096 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.2132, allocations: 225.2 kB / 0.9098 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.2136, allocations: 364 kB / 0.9102 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2137, allocations: 4 kB / 0.9102 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008447/0.2145, allocations: 0.508 MB / 0.9107 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2145, allocations: 6.5 kB / 0.9107 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2146, allocations: 4.312 kB / 0.9107 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/0.2151, allocations: 151.3 kB / 0.9108 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.2154, allocations: 55.91 kB / 0.9109 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.2175, allocations: 3.969 MB / 0.9147 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.2177, allocations: 20.11 kB / 0.9148 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.2178, allocations: 19.92 kB / 0.9148 GB, free: 48.79 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 (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.0001274/0.2179, allocations: 165.7 kB / 0.9149 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.218, allocations: 23.81 kB / 0.915 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000688/0.2187, allocations: 482.6 kB / 0.9154 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2187, allocations: 8 kB / 0.9154 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2187, allocations: 0 / 0.9154 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2187, allocations: 0 / 0.9154 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.2199, allocations: 1.004 MB / 0.9164 GB, free: 47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.2199, allocations: 4 kB / 0.9164 GB, free: 47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.22, allocations: 35.92 kB / 0.9164 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003579/0.2204, allocations: 143.6 kB / 0.9166 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.2204, allocations: 11.94 kB / 0.9166 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.2222, allocations: 3.95 MB / 0.9205 GB, free: 42.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2222, allocations: 0 / 0.9205 GB, free: 42.53 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.2228, allocations: 0.6372 MB / 0.9211 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.2229, allocations: 124.8 kB / 0.9212 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.2229, allocations: 4 kB / 0.9212 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.2231, allocations: 19.98 kB / 0.9212 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.2232, allocations: 27.97 kB / 0.9212 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.2232, allocations: 12 kB / 0.9213 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.869e-05/0.2233, allocations: 149.5 kB / 0.9214 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2233, allocations: 0 / 0.9214 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004282/0.2238, allocations: 95.92 kB / 0.9215 GB, free: 41.4 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 (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.0001691/0.2239, allocations: 139.1 kB / 0.9216 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000718/0.2247, allocations: 0.5751 MB / 0.9222 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2247, allocations: 0.625 kB / 0.9222 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.2251, allocations: 397.2 kB / 0.9226 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.2256, allocations: 43.77 kB / 0.9226 GB, free: 40.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000865/0.2264, allocations: 0.7816 MB / 0.9234 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.2267, allocations: 0.7792 MB / 0.9241 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.2267, allocations: 27.38 kB / 0.9242 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.2267, allocations: 0 / 0.9242 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of Templates: time 0.007625/0.2344, allocations: 7.582 MB / 0.9316 GB, free: 30.94 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)