Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.283/2.283, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.002114/0.002114, allocations: 181.7 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.468/2.468, allocations: 205.4 MB / 0.5772 GB, free: 21.21 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.0009503/0.0009498, allocations: 89.92 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006282/0.0006284, allocations: 14.88 kB / 0.7957 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2174, allocations: 106.3 MB / 0.8995 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004825/0.2223, allocations: 3.119 MB / 0.9025 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003355/0.2257, allocations: 1.661 MB / 0.9042 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.226, allocations: 4 kB / 0.9042 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.2262, allocations: 35.7 kB / 0.9042 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006151/0.2268, allocations: 151.3 kB / 0.9044 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008606/0.2277, allocations: 187.5 kB / 0.9045 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006191/0.2283, allocations: 418.6 kB / 0.9049 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.2294, allocations: 398.5 kB / 0.9053 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.2298, allocations: 127.5 kB / 0.9054 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.2301, allocations: 171.4 kB / 0.9056 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.927e-05/0.2302, allocations: 12 kB / 0.9056 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004343/0.2307, allocations: 143.8 kB / 0.9057 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.2308, allocations: 83.77 kB / 0.9058 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.37e-05/0.2309, allocations: 69.58 kB / 0.9059 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004684/0.2313, allocations: 339.1 kB / 0.9062 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2314, allocations: 0 / 0.9062 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2314, allocations: 0 / 0.9062 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.403e-06/0.2314, allocations: 0 / 0.9062 GB, free: 59.05 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.001462/0.2329, allocations: 0.6098 MB / 0.9068 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.2329, allocations: 12.03 kB / 0.9068 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.234, allocations: 92.47 kB / 0.9069 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.2344, allocations: 279.8 kB / 0.9072 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.2344, allocations: 12.81 kB / 0.9072 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.367e-05/0.2345, allocations: 20.38 kB / 0.9072 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.2357, allocations: 430.7 kB / 0.9076 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.2357, allocations: 0 / 0.9076 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/0.2358, allocations: 8 kB / 0.9076 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.947e-05/0.2358, allocations: 28.3 kB / 0.9077 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.2373, allocations: 412.8 kB / 0.908 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.2396, allocations: 1.619 MB / 0.9096 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.2415, allocations: 485 kB / 0.9101 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000719/0.2422, allocations: 209.6 kB / 0.9103 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.2424, allocations: 81.11 kB / 0.9104 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008109/0.2433, allocations: 282.5 kB / 0.9106 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 3.276e-06/0.2433, allocations: 4 kB / 0.9106 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.002991/0.2463, allocations: 0.7769 MB / 0.9114 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.2464, allocations: 81.11 kB / 0.9115 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.2466, allocations: 228.9 kB / 0.9117 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.2467, allocations: 33.7 kB / 0.9117 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.2468, allocations: 164.4 kB / 0.9119 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.837e-05/0.2469, allocations: 90.66 kB / 0.912 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.247, allocations: 8 kB / 0.912 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.2471, allocations: 338.8 kB / 0.9123 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006726/0.2478, allocations: 180.2 kB / 0.9125 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007071/0.2485, allocations: 261.3 kB / 0.9127 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007412/0.2492, allocations: 237.8 kB / 0.9129 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2493, allocations: 0 / 0.9129 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001902/0.2512, allocations: 0.5636 MB / 0.9135 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.2513, allocations: 182.6 kB / 0.9137 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2513, allocations: 0 / 0.9137 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003415/0.2517, allocations: 44.81 kB / 0.9137 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/0.2524, allocations: 91.86 kB / 0.9138 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.2541, allocations: 1.497 MB / 0.9153 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/0.2548, allocations: 59.73 kB / 0.9153 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.2549, allocations: 19.97 kB / 0.9153 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.2549, allocations: 4 kB / 0.9153 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001742/0.2567, allocations: 0.495 MB / 0.9158 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2567, allocations: 4 kB / 0.9158 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.2569, allocations: 36.83 kB / 0.9159 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.2576, allocations: 95.95 kB / 0.916 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.2591, allocations: 1.469 MB / 0.9174 GB, free: 46.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.2597, allocations: 55.8 kB / 0.9174 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.2597, allocations: 8 kB / 0.9175 GB, free: 46.77 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.0002953/0.26, allocations: 246 kB / 0.9177 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.2601, allocations: 31.59 kB / 0.9177 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.2619, allocations: 493.5 kB / 0.9182 GB, free: 46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.2619, allocations: 4 kB / 0.9182 GB, free: 46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2619, allocations: 4 kB / 0.9182 GB, free: 46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.2621, allocations: 132.7 kB / 0.9183 GB, free: 45.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.2622, allocations: 7.938 kB / 0.9183 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/0.2628, allocations: 47.94 kB / 0.9184 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.263, allocations: 35.89 kB / 0.9184 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002041/0.265, allocations: 0.6433 MB / 0.919 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002246/0.2673, allocations: 0.8884 MB / 0.9199 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006843/0.2681, allocations: 196.8 kB / 0.9201 GB, free: 44.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002287/0.2683, allocations: 172.5 kB / 0.9203 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of Backend: time 5.71e-07/0.2683, allocations: 0 / 0.9203 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003093/0.2714, allocations: 0.983 MB / 0.9212 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001535/0.273, allocations: 1.089 MB / 0.9223 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.01745/0.2905, allocations: 6.476 MB / 0.9286 GB, free: 35.23 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)