Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.512/1.512, allocations: 252 MB / 267.6 MB, free: 10.92 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.001083/0.001083, allocations: 180.6 kB / 327.3 MB, free: 2.223 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.885/1.885, allocations: 205.4 MB / 0.5783 GB, free: 20.27 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.0007749/0.0007748, allocations: 88.61 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003211, allocations: 12.59 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2143, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.0029/0.2173, allocations: 2.622 MB / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002142/0.2194, allocations: 1.665 MB / 0.905 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.2196, allocations: 3.938 kB / 0.905 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.2198, allocations: 35.7 kB / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.2202, allocations: 147.3 kB / 0.9052 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.2206, allocations: 187.6 kB / 0.9054 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.221, allocations: 422.6 kB / 0.9058 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006072/0.2216, allocations: 373.6 kB / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.2218, allocations: 131.5 kB / 0.9063 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.222, allocations: 167.4 kB / 0.9064 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.2221, allocations: 16 kB / 0.9064 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.2223, allocations: 139.8 kB / 0.9066 GB, free: 58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.2224, allocations: 79.72 kB / 0.9066 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/0.2225, allocations: 73.58 kB / 0.9067 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.2228, allocations: 351.4 kB / 0.9071 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2228, allocations: 0 / 0.9071 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2228, allocations: 0 / 0.9071 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.2228, allocations: 0 / 0.9071 GB, free: 57.5 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001172/0.224, allocations: 0.5979 MB / 0.9076 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.224, allocations: 8.031 kB / 0.9076 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006433/0.2247, allocations: 107.5 kB / 0.9077 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.225, allocations: 270.5 kB / 0.908 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.225, allocations: 16.44 kB / 0.908 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.2251, allocations: 23.98 kB / 0.908 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007166/0.2258, allocations: 422.5 kB / 0.9084 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.2258, allocations: 4 kB / 0.9085 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.2259, allocations: 8 kB / 0.9085 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.471e-05/0.2259, allocations: 24.36 kB / 0.9085 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007994/0.2267, allocations: 420.7 kB / 0.9089 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.2282, allocations: 1.607 MB / 0.9105 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.2292, allocations: 495.2 kB / 0.9109 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.2296, allocations: 205.6 kB / 0.9111 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.2298, allocations: 93.09 kB / 0.9112 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000504/0.2303, allocations: 278.5 kB / 0.9115 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 3.837e-06/0.2303, allocations: 0 / 0.9115 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.001769/0.2321, allocations: 0.7819 MB / 0.9122 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.2321, allocations: 81.11 kB / 0.9123 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.2323, allocations: 228.9 kB / 0.9125 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.2323, allocations: 29.7 kB / 0.9126 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.2324, allocations: 164.4 kB / 0.9127 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.2325, allocations: 94.64 kB / 0.9128 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/0.2325, allocations: 8 kB / 0.9128 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.2326, allocations: 338.8 kB / 0.9131 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.233, allocations: 184.2 kB / 0.9133 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.2334, allocations: 261.2 kB / 0.9136 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.2338, allocations: 229.8 kB / 0.9138 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2338, allocations: 0 / 0.9138 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001016/0.2348, allocations: 0.5644 MB / 0.9143 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.539e-05/0.2349, allocations: 189.2 kB / 0.9145 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.2349, allocations: 4 kB / 0.9145 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002559/0.2352, allocations: 44.81 kB / 0.9146 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/0.2356, allocations: 95.8 kB / 0.9147 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.2368, allocations: 1.489 MB / 0.9161 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.2372, allocations: 51.8 kB / 0.9162 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.2372, allocations: 15.98 kB / 0.9162 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.2372, allocations: 8.062 kB / 0.9162 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009617/0.2382, allocations: 498.2 kB / 0.9167 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.2382, allocations: 0 / 0.9167 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.2383, allocations: 44.98 kB / 0.9167 GB, free: 46.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.2387, allocations: 91.81 kB / 0.9168 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009008/0.2396, allocations: 1.481 MB / 0.9182 GB, free: 45.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.2399, allocations: 47.8 kB / 0.9183 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.2399, allocations: 19.98 kB / 0.9183 GB, free: 45.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002275/0.2402, allocations: 237.1 kB / 0.9185 GB, free: 44.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.2402, allocations: 23.72 kB / 0.9185 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009702/0.2412, allocations: 0.4907 MB / 0.919 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2412, allocations: 7.938 kB / 0.919 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2412, allocations: 4 kB / 0.919 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2412, allocations: 0 / 0.919 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.2418, allocations: 0.5661 MB / 0.9196 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2418, allocations: 0 / 0.9196 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.2421, allocations: 87.95 kB / 0.9197 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/0.2422, allocations: 36.83 kB / 0.9197 GB, free: 43.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.2423, allocations: 4 kB / 0.9197 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007623/0.243, allocations: 1.409 MB / 0.9211 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2431, allocations: 4.031 kB / 0.9211 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/0.2439, allocations: 0.5692 MB / 0.9216 GB, free: 41.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.2441, allocations: 132.7 kB / 0.9218 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.2441, allocations: 8 kB / 0.9218 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.2444, allocations: 48.08 kB / 0.9218 GB, free: 41.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.2445, allocations: 39.83 kB / 0.9219 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.2445, allocations: 8 kB / 0.9219 GB, free: 41.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001236/0.2447, allocations: 172.5 kB / 0.922 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2447, allocations: 0 / 0.922 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005498/0.2452, allocations: 128 kB / 0.9222 GB, free: 40.98 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001733/0.2454, allocations: 119.2 kB / 0.9223 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.247, allocations: 1.006 MB / 0.9233 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.247, allocations: 0 / 0.9233 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005526/0.2476, allocations: 343.2 kB / 0.9236 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.248, allocations: 44.47 kB / 0.9236 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.2491, allocations: 0.7814 MB / 0.9244 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.2493, allocations: 0.7839 MB / 0.9252 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.2494, allocations: 31.36 kB / 0.9252 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of SimCode: time 4.3e-07/0.2495, allocations: 4 kB / 0.9252 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.005945/0.2554, allocations: 5.088 MB / 0.9302 GB, free: 32.67 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)