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.387/1.387, allocations: 252 MB / 268 MB, free: 10.84 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.001043/0.001043, allocations: 178.9 kB / 327.6 MB, free: 2.078 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.578/1.578, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.001081/0.001081, allocations: 80.2 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003093, allocations: 16.14 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1936, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003418/0.197, allocations: 3.244 MB / 0.9046 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00236/0.1994, allocations: 1.761 MB / 0.9063 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.1997, allocations: 7.938 kB / 0.9064 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.1999, allocations: 31.72 kB / 0.9064 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005325/0.2004, allocations: 183.2 kB / 0.9066 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006312/0.2011, allocations: 231.5 kB / 0.9068 GB, free: 58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005246/0.2016, allocations: 0.4908 MB / 0.9073 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008605/0.2025, allocations: 410.5 kB / 0.9076 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000389/0.2029, allocations: 135.5 kB / 0.9078 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004557/0.2034, allocations: 171.3 kB / 0.9079 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.373e-05/0.2034, allocations: 16 kB / 0.908 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006667/0.2041, allocations: 307.3 kB / 0.9082 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.2043, allocations: 91.72 kB / 0.9083 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.2045, allocations: 149 kB / 0.9085 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006459/0.2051, allocations: 355.4 kB / 0.9088 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2052, allocations: 0 / 0.9088 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2052, allocations: 4 kB / 0.9088 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.2052, allocations: 0 / 0.9088 GB, free: 55.88 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.001327/0.2065, allocations: 0.6005 MB / 0.9094 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2066, allocations: 8.031 kB / 0.9094 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008741/0.2075, allocations: 96.47 kB / 0.9095 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.2079, allocations: 283.4 kB / 0.9098 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.2079, allocations: 12.81 kB / 0.9098 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.208, allocations: 20.38 kB / 0.9098 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/0.2088, allocations: 438.9 kB / 0.9102 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.2088, allocations: 11.83 kB / 0.9102 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/0.2089, allocations: 11.98 kB / 0.9103 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.297e-05/0.209, allocations: 24.36 kB / 0.9103 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008374/0.2098, allocations: 420.7 kB / 0.9107 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.2114, allocations: 1.599 MB / 0.9122 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.2125, allocations: 495.1 kB / 0.9127 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.2128, allocations: 205.6 kB / 0.9129 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.213, allocations: 89.09 kB / 0.913 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000501/0.2135, allocations: 274.5 kB / 0.9133 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.584e-06/0.2135, allocations: 3.938 kB / 0.9133 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.00175/0.2153, allocations: 0.7897 MB / 0.914 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.2153, allocations: 81.11 kB / 0.9141 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.2155, allocations: 229 kB / 0.9143 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.2155, allocations: 29.7 kB / 0.9144 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.2156, allocations: 164.3 kB / 0.9145 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.2157, allocations: 94.66 kB / 0.9146 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.2158, allocations: 8 kB / 0.9146 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.2158, allocations: 330.8 kB / 0.9149 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.2162, allocations: 188.1 kB / 0.9151 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.2166, allocations: 257.3 kB / 0.9153 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007749/0.2174, allocations: 490.9 kB / 0.9158 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2174, allocations: 0 / 0.9158 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001014/0.2184, allocations: 0.5713 MB / 0.9164 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.613e-05/0.2185, allocations: 178.6 kB / 0.9165 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2185, allocations: 4 kB / 0.9165 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/0.2187, allocations: 44.81 kB / 0.9166 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.2192, allocations: 91.86 kB / 0.9167 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.2202, allocations: 1.497 MB / 0.9181 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.2206, allocations: 55.8 kB / 0.9182 GB, free: 45.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.2206, allocations: 15.98 kB / 0.9182 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/0.2206, allocations: 4 kB / 0.9182 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009712/0.2216, allocations: 0.4983 MB / 0.9187 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2216, allocations: 0 / 0.9187 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/0.2217, allocations: 36.83 kB / 0.9187 GB, free: 45.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.2221, allocations: 95.97 kB / 0.9188 GB, free: 44.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008529/0.223, allocations: 1.485 MB / 0.9203 GB, free: 43.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.2233, allocations: 55.8 kB / 0.9203 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.2233, allocations: 8 kB / 0.9203 GB, free: 43.29 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001867/0.2235, allocations: 237.7 kB / 0.9206 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.2235, allocations: 35.72 kB / 0.9206 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009386/0.2245, allocations: 494.5 kB / 0.9211 GB, free: 42.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2245, allocations: 4 kB / 0.9211 GB, free: 42.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2245, allocations: 0 / 0.9211 GB, free: 42.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.2245, allocations: 4 kB / 0.9211 GB, free: 42.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.225, allocations: 0.5661 MB / 0.9216 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2251, allocations: 3.938 kB / 0.9216 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.2254, allocations: 83.86 kB / 0.9217 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/0.2255, allocations: 36.92 kB / 0.9217 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.2256, allocations: 8 kB / 0.9218 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007764/0.2264, allocations: 1.413 MB / 0.9231 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2264, allocations: 8.031 kB / 0.9231 GB, free: 40.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008583/0.2272, allocations: 0.5692 MB / 0.9237 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.2274, allocations: 136.7 kB / 0.9238 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.2274, allocations: 4 kB / 0.9238 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.2277, allocations: 39.95 kB / 0.9239 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.2278, allocations: 39.95 kB / 0.9239 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.2278, allocations: 4 kB / 0.9239 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001219/0.228, allocations: 180.5 kB / 0.9241 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.228, allocations: 0 / 0.9241 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005268/0.2285, allocations: 127.9 kB / 0.9242 GB, free: 39.05 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001508/0.2287, allocations: 115.1 kB / 0.9243 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.2302, allocations: 1.017 MB / 0.9253 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2303, allocations: 0 / 0.9253 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.2308, allocations: 339.3 kB / 0.9256 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.2312, allocations: 44.41 kB / 0.9257 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.2323, allocations: 0.7752 MB / 0.9264 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.2325, allocations: 0.7839 MB / 0.9272 GB, free: 35.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.2326, allocations: 27.44 kB / 0.9272 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of SimCode: time 3.9e-07/0.2326, allocations: 4 kB / 0.9272 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.006844/0.2395, allocations: 5.098 MB / 0.9322 GB, free: 30.74 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)