Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.607/2.607, allocations: 287.5 MB / 303.2 MB, free: 8.129 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.001338/0.001338, allocations: 185.7 kB / 371.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008783/0.0008784, allocations: 81.88 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004832, allocations: 11.92 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2258, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9935/1.219, allocations: 159.9 MB / 1.135 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003714/1.22, allocations: 102.2 kB / 1.136 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06759/1.287, allocations: 17.13 MB / 1.152 GB, free: 24.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.985e-06/1.288, allocations: 0 / 1.152 GB, free: 24.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.557e-05/1.288, allocations: 7.875 kB / 1.152 GB, free: 24.53 MB / 0.698 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.001592/1.289, allocations: 0.6349 MB / 1.153 GB, free: 23.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.289, allocations: 7.688 kB / 1.153 GB, free: 23.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/1.29, allocations: 101.4 kB / 1.153 GB, free: 23.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/1.291, allocations: 287.8 kB / 1.153 GB, free: 23.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/1.291, allocations: 19.31 kB / 1.153 GB, free: 23.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.441e-05/1.291, allocations: 19.67 kB / 1.153 GB, free: 23.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/1.292, allocations: 427.6 kB / 1.154 GB, free: 23.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/1.292, allocations: 192 / 1.154 GB, free: 23.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/1.292, allocations: 14.88 kB / 1.154 GB, free: 23.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.714e-05/1.292, allocations: 23.55 kB / 1.154 GB, free: 23.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/1.294, allocations: 417 kB / 1.154 GB, free: 22.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00307/1.297, allocations: 1.645 MB / 1.156 GB, free: 21.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/1.299, allocations: 490.7 kB / 1.156 GB, free: 20.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007072/1.3, allocations: 209.4 kB / 1.156 GB, free: 20.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/1.3, allocations: 93.08 kB / 1.156 GB, free: 20.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008489/1.301, allocations: 283.7 kB / 1.157 GB, free: 20.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 3.367e-06/1.301, allocations: 0 / 1.157 GB, free: 20.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.003082/1.304, allocations: 0.7725 MB / 1.158 GB, free: 19.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/1.304, allocations: 96.36 kB / 1.158 GB, free: 19.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/1.304, allocations: 228.5 kB / 1.158 GB, free: 19.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/1.304, allocations: 29.2 kB / 1.158 GB, free: 19.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/1.305, allocations: 163.5 kB / 1.158 GB, free: 19.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.712e-05/1.305, allocations: 101.2 kB / 1.158 GB, free: 19.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/1.305, allocations: 2.875 kB / 1.158 GB, free: 19.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.305, allocations: 333.2 kB / 1.158 GB, free: 18.83 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/1.306, allocations: 186.8 kB / 1.159 GB, free: 18.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006797/1.306, allocations: 250.8 kB / 1.159 GB, free: 18.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/1.308, allocations: 485.6 kB / 1.159 GB, free: 18.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.308, allocations: 3.984 kB / 1.159 GB, free: 18.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001818/1.309, allocations: 0.5546 MB / 1.16 GB, free: 17.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/1.31, allocations: 188.8 kB / 1.16 GB, free: 17.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.31, allocations: 4 kB / 1.16 GB, free: 17.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003238/1.31, allocations: 40 kB / 1.16 GB, free: 17.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007005/1.311, allocations: 98.23 kB / 1.16 GB, free: 17.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/1.313, allocations: 1.482 MB / 1.162 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009526/1.314, allocations: 58.48 kB / 1.162 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/1.314, allocations: 19.17 kB / 1.162 GB, free: 15.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/1.314, allocations: 0 / 1.162 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001778/1.316, allocations: 0.4937 MB / 1.162 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/1.316, allocations: 4 kB / 1.162 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/1.316, allocations: 43 kB / 1.162 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006757/1.317, allocations: 90.7 kB / 1.162 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/1.319, allocations: 1.485 MB / 1.164 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/1.319, allocations: 55.05 kB / 1.164 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/1.319, allocations: 11.44 kB / 1.164 GB, free: 13.61 MB / 0.698 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.0004155/1.32, allocations: 242.7 kB / 1.164 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.553e-05/1.32, allocations: 27.66 kB / 1.164 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/1.322, allocations: 499 kB / 1.165 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.322, allocations: 0 / 1.165 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.322, allocations: 4 kB / 1.165 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/1.322, allocations: 0 / 1.165 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/1.323, allocations: 0.5728 MB / 1.165 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.323, allocations: 7.938 kB / 1.165 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/1.323, allocations: 82.67 kB / 1.165 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000214/1.324, allocations: 36.17 kB / 1.165 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/1.324, allocations: 9.062 kB / 1.165 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/1.325, allocations: 1.417 MB / 1.167 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.325, allocations: 0 / 1.167 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/1.327, allocations: 0.5682 MB / 1.167 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/1.327, allocations: 131.6 kB / 1.167 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.348e-05/1.327, allocations: 7.812 kB / 1.167 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/1.328, allocations: 43.88 kB / 1.167 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/1.328, allocations: 31.64 kB / 1.167 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/1.328, allocations: 7 kB / 1.167 GB, free: 10.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002414/1.328, allocations: 174.2 kB / 1.168 GB, free: 9.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.3e-07/1.328, allocations: 0 / 1.168 GB, free: 9.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008831/1.329, allocations: 149.1 kB / 1.168 GB, free: 9.852 MB / 0.698 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.0002605/1.33, allocations: 119.1 kB / 1.168 GB, free: 9.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003004/1.333, allocations: 1.024 MB / 1.169 GB, free: 8.824 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.333, allocations: 0 / 1.169 GB, free: 8.824 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/1.334, allocations: 336.5 kB / 1.169 GB, free: 8.535 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/1.335, allocations: 41.53 kB / 1.169 GB, free: 8.508 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/1.337, allocations: 0.7395 MB / 1.17 GB, free: 7.793 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/1.337, allocations: 0.7826 MB / 1.171 GB, free: 6.988 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006009/1.338, allocations: 106.2 kB / 1.171 GB, free: 6.887 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/1.338, allocations: 26.88 kB / 1.171 GB, free: 6.863 MB / 0.698 GB Notification: Performance of SimCode: time 1.282e-06/1.338, allocations: 0 / 1.171 GB, free: 6.863 MB / 0.698 GB Notification: Performance of Templates: time 0.01332/1.351, allocations: 4.051 MB / 1.175 GB, free: 2.84 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)