Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001021/0.001022, allocations: 188.8 kB / 361.4 MB, free: 6.844 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.565/1.565, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008203/0.0008204, allocations: 93.06 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.573e-05/1.577e-05, allocations: 4 kB / 0.8518 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7487/0.7487, allocations: 115.3 MB / 0.9644 GB, free: 78.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2263/0.9751, allocations: 159.3 MB / 1.12 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/0.9755, allocations: 95.94 kB / 1.12 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04291/1.018, allocations: 16.92 MB / 1.137 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.804e-06/1.018, allocations: 0 / 1.137 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.381e-05/1.018, allocations: 8 kB / 1.137 GB, free: 11.45 MB / 0.7448 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.001496/1.02, allocations: 0.6146 MB / 1.137 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.02, allocations: 8.031 kB / 1.137 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009117/1.021, allocations: 104.5 kB / 1.137 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/1.021, allocations: 287.4 kB / 1.138 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/1.022, allocations: 4 kB / 1.138 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/1.022, allocations: 16 kB / 1.138 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004953/1.022, allocations: 240.9 kB / 1.138 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/1.023, allocations: 349.8 kB / 1.138 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/1.023, allocations: 3.984 kB / 1.138 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/1.023, allocations: 0 / 1.138 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/1.023, allocations: 21.67 kB / 1.138 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/1.025, allocations: 1.591 MB / 1.14 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/1.026, allocations: 386 kB / 1.14 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/1.026, allocations: 153.7 kB / 1.14 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/1.026, allocations: 89.09 kB / 1.14 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004204/1.027, allocations: 223.1 kB / 1.14 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 3.387e-06/1.027, allocations: 0 / 1.14 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.001244/1.028, allocations: 424.8 kB / 1.141 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/1.028, allocations: 85.09 kB / 1.141 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/1.028, allocations: 183.2 kB / 1.141 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/1.029, allocations: 37.8 kB / 1.141 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/1.029, allocations: 166 kB / 1.141 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.665e-05/1.029, allocations: 90.66 kB / 1.141 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/1.029, allocations: 0 / 1.141 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.029, allocations: 330.8 kB / 1.142 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/1.029, allocations: 128.3 kB / 1.142 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/1.029, allocations: 209.1 kB / 1.142 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/1.03, allocations: 152.6 kB / 1.142 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/1.03, allocations: 8 kB / 1.142 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008104/1.031, allocations: 428.3 kB / 1.143 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004975/1.031, allocations: 0.899 MB / 1.144 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.031, allocations: 4 kB / 1.144 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002891/1.031, allocations: 44.77 kB / 1.144 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/1.032, allocations: 93.42 kB / 1.144 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/1.033, allocations: 1.436 MB / 1.145 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/1.034, allocations: 43.8 kB / 1.145 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/1.034, allocations: 19.98 kB / 1.145 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/1.034, allocations: 8.062 kB / 1.145 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007107/1.035, allocations: 350.6 kB / 1.145 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.035, allocations: 7.922 kB / 1.145 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001339/1.035, allocations: 36.83 kB / 1.145 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/1.035, allocations: 94.27 kB / 1.146 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/1.036, allocations: 1.433 MB / 1.147 GB, free: 40 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/1.037, allocations: 39.86 kB / 1.147 GB, free: 0 / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/1.037, allocations: 11.98 kB / 1.147 GB, free: 15.99 MB / 0.7605 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 () * 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.0001622/1.037, allocations: 120.8 kB / 1.147 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/1.037, allocations: 27.78 kB / 1.147 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007714/1.038, allocations: 376.1 kB / 1.148 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/1.038, allocations: 4 kB / 1.148 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.038, allocations: 0 / 1.148 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.038, allocations: 3.984 kB / 1.148 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/1.039, allocations: 0.5159 MB / 1.148 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.039, allocations: 0 / 1.148 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/1.039, allocations: 83.86 kB / 1.148 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00013/1.039, allocations: 40.92 kB / 1.148 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/1.039, allocations: 3.984 kB / 1.148 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/1.04, allocations: 1.351 MB / 1.149 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.04, allocations: 4.062 kB / 1.149 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007447/1.041, allocations: 0.4925 MB / 1.15 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/1.041, allocations: 132.7 kB / 1.15 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/1.041, allocations: 9.031 kB / 1.15 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/1.042, allocations: 35.91 kB / 1.15 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.042, allocations: 32.09 kB / 1.15 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/1.042, allocations: 13.22 kB / 1.15 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000169/1.042, allocations: 164.5 kB / 1.15 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.51e-07/1.042, allocations: 0 / 1.15 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007269/1.043, allocations: 123.9 kB / 1.15 GB, free: 12.23 MB / 0.7605 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) * 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.0003049/1.043, allocations: 131 kB / 1.151 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001336/1.044, allocations: 0.8316 MB / 1.151 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.044, allocations: 0 / 1.151 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004054/1.045, allocations: 281.6 kB / 1.152 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/1.045, allocations: 35.77 kB / 1.152 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/1.046, allocations: 452.6 kB / 1.152 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/1.047, allocations: 0.8001 MB / 1.153 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003708/1.047, allocations: 97.97 kB / 1.153 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.485e-05/1.047, allocations: 23.44 kB / 1.153 GB, free: 9.48 MB / 0.7605 GB Notification: Performance of SimCode: time 4.31e-07/1.047, allocations: 0 / 1.153 GB, free: 9.48 MB / 0.7605 GB Notification: Performance of Templates: time 0.009386/1.057, allocations: 4.112 MB / 1.157 GB, free: 5.465 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)