Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.344/1.344, allocations: 252 MB / 267.6 MB, free: 10.93 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.0009994/0.0009996, allocations: 188.2 kB / 327.3 MB, free: 2.219 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.606/1.606, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0008071/0.0008071, allocations: 82.02 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 8.5 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2254, allocations: 106.4 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003477/0.2289, allocations: 3.113 MB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.2313, allocations: 1.653 MB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.2315, allocations: 4 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.2318, allocations: 35.72 kB / 0.9055 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.2323, allocations: 155.3 kB / 0.9057 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006871/0.233, allocations: 183.5 kB / 0.9059 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004778/0.2335, allocations: 418.7 kB / 0.9063 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007368/0.2342, allocations: 386.6 kB / 0.9066 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002871/0.2345, allocations: 131.5 kB / 0.9068 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.2349, allocations: 163.4 kB / 0.9069 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.2349, allocations: 16 kB / 0.9069 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000388/0.2353, allocations: 139.8 kB / 0.9071 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.068e-05/0.2354, allocations: 83.77 kB / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.625e-05/0.2355, allocations: 69.58 kB / 0.9072 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.2359, allocations: 339.5 kB / 0.9075 GB, free: 57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.2359, allocations: 0 / 0.9075 GB, free: 57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.556e-06/0.2359, allocations: 0 / 0.9075 GB, free: 57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.236, allocations: 0 / 0.9075 GB, free: 57 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.001303/0.2373, allocations: 0.6096 MB / 0.9081 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.2373, allocations: 12.03 kB / 0.9081 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007012/0.238, allocations: 99.47 kB / 0.9082 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.2384, allocations: 270.5 kB / 0.9085 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.2384, allocations: 16.44 kB / 0.9085 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.095e-05/0.2384, allocations: 16 kB / 0.9085 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007442/0.2392, allocations: 434.5 kB / 0.9089 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.2392, allocations: 0 / 0.9089 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.2393, allocations: 8 kB / 0.9089 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.814e-05/0.2393, allocations: 24.36 kB / 0.909 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008039/0.2401, allocations: 424.7 kB / 0.9094 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.2416, allocations: 1.611 MB / 0.9109 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.2427, allocations: 492.2 kB / 0.9114 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.2431, allocations: 209.6 kB / 0.9116 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.2432, allocations: 89.09 kB / 0.9117 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004906/0.2437, allocations: 278.4 kB / 0.912 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.585e-06/0.2438, allocations: 4 kB / 0.912 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.001744/0.2455, allocations: 0.778 MB / 0.9127 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.2456, allocations: 85.05 kB / 0.9128 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.2457, allocations: 221 kB / 0.913 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.2458, allocations: 37.69 kB / 0.9131 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.2459, allocations: 164.4 kB / 0.9132 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/0.2459, allocations: 90.66 kB / 0.9133 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.246, allocations: 8 kB / 0.9133 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/0.246, allocations: 338.8 kB / 0.9136 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.2464, allocations: 180.2 kB / 0.9138 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.2468, allocations: 257.3 kB / 0.914 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/0.2472, allocations: 237.8 kB / 0.9143 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2472, allocations: 0 / 0.9143 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000981/0.2482, allocations: 0.5566 MB / 0.9148 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.778e-05/0.2483, allocations: 194.5 kB / 0.915 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2483, allocations: 0 / 0.915 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000242/0.2486, allocations: 44.77 kB / 0.915 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.249, allocations: 91.86 kB / 0.9151 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.25, allocations: 1.493 MB / 0.9166 GB, free: 47.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.2504, allocations: 63.64 kB / 0.9166 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.2504, allocations: 12 kB / 0.9167 GB, free: 47.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.673e-06/0.2504, allocations: 4 kB / 0.9167 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009643/0.2514, allocations: 498.3 kB / 0.9171 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.2514, allocations: 4 kB / 0.9171 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001161/0.2515, allocations: 48.75 kB / 0.9172 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.2519, allocations: 91.98 kB / 0.9173 GB, free: 46.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008323/0.2527, allocations: 1.485 MB / 0.9187 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.253, allocations: 51.8 kB / 0.9188 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.253, allocations: 8 kB / 0.9188 GB, free: 44.7 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.0001822/0.2532, allocations: 237 kB / 0.919 GB, free: 44.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.2533, allocations: 31.77 kB / 0.919 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009064/0.2542, allocations: 498.5 kB / 0.9195 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2542, allocations: 4 kB / 0.9195 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2542, allocations: 4 kB / 0.9195 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2542, allocations: 0 / 0.9195 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005348/0.2548, allocations: 0.57 MB / 0.9201 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2548, allocations: 0 / 0.9201 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.2551, allocations: 80.02 kB / 0.9202 GB, free: 43.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001409/0.2553, allocations: 40.81 kB / 0.9202 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.2553, allocations: 8 kB / 0.9202 GB, free: 43.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009257/0.2563, allocations: 1.409 MB / 0.9216 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2563, allocations: 0 / 0.9216 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/0.2571, allocations: 0.5654 MB / 0.9221 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.2573, allocations: 140.7 kB / 0.9223 GB, free: 40.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.2573, allocations: 8 kB / 0.9223 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.2576, allocations: 43.95 kB / 0.9223 GB, free: 40.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-05/0.2577, allocations: 39.84 kB / 0.9224 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.2578, allocations: 12 kB / 0.9224 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001238/0.2579, allocations: 168.5 kB / 0.9225 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2579, allocations: 0 / 0.9225 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005502/0.2584, allocations: 132 kB / 0.9227 GB, free: 40.47 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.0001902/0.2586, allocations: 113.9 kB / 0.9228 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.2602, allocations: 1.01 MB / 0.9237 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2602, allocations: 0 / 0.9237 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.2608, allocations: 343.3 kB / 0.9241 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.2612, allocations: 45.16 kB / 0.9241 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2622, allocations: 0.7771 MB / 0.9249 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.2625, allocations: 0.7917 MB / 0.9256 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.2626, allocations: 27.42 kB / 0.9257 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of SimCode: time 7.62e-07/0.2626, allocations: 0 / 0.9257 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.006087/0.2687, allocations: 5.102 MB / 0.9307 GB, free: 32.16 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)