Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.6 MB / 307.5 MB, free: 5.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00168/0.00168, allocations: 181 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.4 MB / 0.6367 GB, free: 9.551 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009011/0.000901, allocations: 83.8 kB / 0.751 GB, free: 62.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005743/0.0005741, allocations: 8 kB / 0.8748 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3361, allocations: 116.3 MB / 0.9884 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8922/1.228, allocations: 162.4 MB / 1.147 GB, free: 17.31 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004315/1.229, allocations: 99.92 kB / 1.147 GB, free: 17.23 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04338/1.272, allocations: 17.75 MB / 1.164 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.914e-06/1.272, allocations: 0 / 1.164 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.918e-05/1.272, allocations: 4 kB / 1.164 GB, free: 2.348 MB / 0.7292 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.001166/1.273, allocations: 0.6503 MB / 1.165 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.273, allocations: 12.02 kB / 1.165 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008108/1.274, allocations: 105.6 kB / 1.165 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/1.275, allocations: 278.2 kB / 1.165 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/1.275, allocations: 20.38 kB / 1.165 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/1.275, allocations: 17.2 kB / 1.165 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/1.275, allocations: 426.5 kB / 1.166 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/1.276, allocations: 0 / 1.166 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/1.276, allocations: 7.984 kB / 1.166 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/1.276, allocations: 26.08 kB / 1.166 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007727/1.276, allocations: 420.7 kB / 1.166 GB, free: 308 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/1.278, allocations: 1.643 MB / 1.168 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/1.28, allocations: 489.2 kB / 1.168 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/1.28, allocations: 94.25 kB / 1.168 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005491/1.28, allocations: 274.5 kB / 1.169 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/1.28, allocations: 3.938 kB / 1.169 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.001929/1.282, allocations: 0.7869 MB / 1.169 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/1.282, allocations: 81.11 kB / 1.17 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/1.283, allocations: 200.1 kB / 1.17 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/1.283, allocations: 33.7 kB / 1.17 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/1.283, allocations: 164.3 kB / 1.17 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.905e-05/1.283, allocations: 98.64 kB / 1.17 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/1.283, allocations: 8 kB / 1.17 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.283, allocations: 334.8 kB / 1.17 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/1.284, allocations: 180.2 kB / 1.171 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/1.284, allocations: 257 kB / 1.171 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/1.284, allocations: 239.3 kB / 1.171 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.285, allocations: 0 / 1.171 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001194/1.286, allocations: 0.5597 MB / 1.172 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005662/1.286, allocations: 0.9021 MB / 1.172 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.286, allocations: 0 / 1.172 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002838/1.287, allocations: 41.75 kB / 1.172 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/1.287, allocations: 99.8 kB / 1.173 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/1.289, allocations: 1.499 MB / 1.174 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/1.289, allocations: 55.92 kB / 1.174 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/1.289, allocations: 11.98 kB / 1.174 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/1.289, allocations: 4 kB / 1.174 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001074/1.29, allocations: 0.5012 MB / 1.175 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/1.29, allocations: 8.984 kB / 1.175 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/1.29, allocations: 40.83 kB / 1.175 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/1.291, allocations: 88.03 kB / 1.175 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/1.292, allocations: 1.498 MB / 1.176 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/1.292, allocations: 52.62 kB / 1.176 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/1.293, allocations: 19.92 kB / 1.176 GB, free: 5.43 MB / 0.7448 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.0003331/1.293, allocations: 233 kB / 1.176 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/1.293, allocations: 27.67 kB / 1.176 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/1.294, allocations: 496.2 kB / 1.177 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.294, allocations: 7.938 kB / 1.177 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.294, allocations: 1.188 kB / 1.177 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.294, allocations: 7.984 kB / 1.177 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006831/1.295, allocations: 0.5661 MB / 1.178 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.295, allocations: 0 / 1.178 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/1.295, allocations: 83.86 kB / 1.178 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/1.295, allocations: 40.92 kB / 1.178 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/1.295, allocations: 7.984 kB / 1.178 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/1.296, allocations: 1.422 MB / 1.179 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.296, allocations: 0.9375 kB / 1.179 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/1.298, allocations: 0.5972 MB / 1.18 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/1.298, allocations: 136.6 kB / 1.18 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/1.298, allocations: 8 kB / 1.18 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/1.298, allocations: 43.94 kB / 1.18 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.298, allocations: 35.89 kB / 1.18 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/1.298, allocations: 12 kB / 1.18 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001612/1.298, allocations: 168.5 kB / 1.18 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.61e-07/1.298, allocations: 0 / 1.18 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006676/1.299, allocations: 147.9 kB / 1.18 GB, free: 1.133 MB / 0.7448 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.000223/1.299, allocations: 120.2 kB / 1.18 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001896/1.301, allocations: 1.021 MB / 1.181 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.301, allocations: 0 / 1.181 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006075/1.302, allocations: 339.3 kB / 1.182 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/1.302, allocations: 46.05 kB / 1.182 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/1.304, allocations: 0.7484 MB / 1.182 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/1.304, allocations: 0.7956 MB / 1.183 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003163/1.304, allocations: 99.36 kB / 1.183 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.373e-05/1.304, allocations: 19.44 kB / 1.183 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of SimCode: time 6.51e-07/1.304, allocations: 0 / 1.183 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of Templates: time 0.007912/1.312, allocations: 4.036 MB / 1.187 GB, free: 9.852 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)