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.67/1.67, allocations: 288.4 MB / 304.3 MB, free: 8.168 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.0008953/0.0008955, allocations: 185.5 kB / 373 MB, free: 10.14 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.678/1.678, allocations: 205.4 MB / 0.6317 GB, free: 9.898 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.0008217/0.0008215, allocations: 88.66 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004091, allocations: 11.91 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.27, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8903/1.16, allocations: 160 MB / 1.137 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/1.161, allocations: 99.59 kB / 1.137 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03659/1.197, allocations: 17.13 MB / 1.154 GB, free: 23.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.554e-06/1.197, allocations: 0 / 1.154 GB, free: 23.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.363e-05/1.197, allocations: 12 kB / 1.154 GB, free: 23.1 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.001196/1.199, allocations: 0.6317 MB / 1.154 GB, free: 22.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.199, allocations: 12.03 kB / 1.154 GB, free: 22.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007929/1.199, allocations: 96.47 kB / 1.155 GB, free: 22.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/1.2, allocations: 296.3 kB / 1.155 GB, free: 22.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/1.2, allocations: 13.69 kB / 1.155 GB, free: 22.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/1.2, allocations: 23.94 kB / 1.155 GB, free: 21.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/1.201, allocations: 422.3 kB / 1.155 GB, free: 21.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/1.201, allocations: 4.188 kB / 1.155 GB, free: 21.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/1.201, allocations: 14.48 kB / 1.155 GB, free: 21.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.783e-05/1.201, allocations: 20.36 kB / 1.155 GB, free: 21.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007638/1.202, allocations: 425.3 kB / 1.156 GB, free: 21.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/1.203, allocations: 1.643 MB / 1.157 GB, free: 19.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/1.204, allocations: 489.5 kB / 1.158 GB, free: 19.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/1.205, allocations: 206.8 kB / 1.158 GB, free: 19.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/1.205, allocations: 89.09 kB / 1.158 GB, free: 19.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004954/1.205, allocations: 281.9 kB / 1.158 GB, free: 18.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 2.264e-06/1.205, allocations: 0 / 1.158 GB, free: 18.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001849/1.207, allocations: 0.7786 MB / 1.159 GB, free: 18.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/1.207, allocations: 85.05 kB / 1.159 GB, free: 18.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/1.208, allocations: 224.4 kB / 1.159 GB, free: 17.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/1.208, allocations: 33.02 kB / 1.159 GB, free: 17.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/1.208, allocations: 171.3 kB / 1.16 GB, free: 17.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/1.208, allocations: 89.78 kB / 1.16 GB, free: 17.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/1.208, allocations: 10.94 kB / 1.16 GB, free: 17.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.208, allocations: 332.9 kB / 1.16 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/1.208, allocations: 181.6 kB / 1.16 GB, free: 17.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/1.209, allocations: 260.5 kB / 1.16 GB, free: 16.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/1.209, allocations: 483.4 kB / 1.161 GB, free: 16.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.21, allocations: 0 / 1.161 GB, free: 16.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009898/1.211, allocations: 0.5667 MB / 1.161 GB, free: 16.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/1.211, allocations: 184.9 kB / 1.162 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.211, allocations: 4 kB / 1.162 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002251/1.211, allocations: 47.23 kB / 1.162 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/1.211, allocations: 87.67 kB / 1.162 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/1.213, allocations: 1.496 MB / 1.163 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/1.213, allocations: 51.3 kB / 1.163 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/1.213, allocations: 15.25 kB / 1.163 GB, free: 14.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/1.213, allocations: 4 kB / 1.163 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009203/1.214, allocations: 0.4912 MB / 1.164 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/1.214, allocations: 8.016 kB / 1.164 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001184/1.214, allocations: 39.52 kB / 1.164 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/1.214, allocations: 82.62 kB / 1.164 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/1.215, allocations: 1.498 MB / 1.165 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/1.216, allocations: 49.42 kB / 1.165 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/1.216, allocations: 18.5 kB / 1.165 GB, free: 12.04 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.0002698/1.216, allocations: 244.6 kB / 1.166 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/1.216, allocations: 27.66 kB / 1.166 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009728/1.217, allocations: 491.1 kB / 1.166 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/1.217, allocations: 4 kB / 1.166 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/1.217, allocations: 0 / 1.166 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.217, allocations: 0 / 1.166 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006876/1.218, allocations: 0.5726 MB / 1.167 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.218, allocations: 4.031 kB / 1.167 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/1.218, allocations: 79.86 kB / 1.167 GB, free: 10.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/1.218, allocations: 35.14 kB / 1.167 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/1.218, allocations: 7.25 kB / 1.167 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/1.22, allocations: 1.419 MB / 1.168 GB, free: 9.281 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.22, allocations: 12.02 kB / 1.168 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009614/1.22, allocations: 0.558 MB / 1.169 GB, free: 8.781 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/1.221, allocations: 135.8 kB / 1.169 GB, free: 8.641 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/1.221, allocations: 7.562 kB / 1.169 GB, free: 8.637 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/1.221, allocations: 43.52 kB / 1.169 GB, free: 8.598 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/1.221, allocations: 31.14 kB / 1.169 GB, free: 8.574 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/1.221, allocations: 15.92 kB / 1.169 GB, free: 8.559 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001633/1.221, allocations: 173.2 kB / 1.169 GB, free: 8.418 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.221, allocations: 0 / 1.169 GB, free: 8.418 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006258/1.222, allocations: 142.6 kB / 1.169 GB, free: 8.293 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.0001951/1.222, allocations: 130.7 kB / 1.169 GB, free: 8.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001829/1.224, allocations: 1.015 MB / 1.17 GB, free: 7.262 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.224, allocations: 3.75 kB / 1.17 GB, free: 7.262 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005949/1.225, allocations: 338.3 kB / 1.171 GB, free: 6.969 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/1.225, allocations: 47.03 kB / 1.171 GB, free: 6.938 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/1.226, allocations: 0.7385 MB / 1.172 GB, free: 6.227 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/1.227, allocations: 0.7865 MB / 1.172 GB, free: 5.418 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000305/1.227, allocations: 98.19 kB / 1.172 GB, free: 5.324 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.194e-05/1.227, allocations: 26.94 kB / 1.172 GB, free: 5.301 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/1.227, allocations: 0 / 1.172 GB, free: 5.301 MB / 0.698 GB Notification: Performance of Templates: time 0.008312/1.236, allocations: 4.067 MB / 1.176 GB, free: 1.27 MB / 0.698 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)