Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 293 MB / 309 MB, free: 4.801 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.001067/0.001067, allocations: 180.5 kB / 378.7 MB, free: 1.023 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.698/1.698, allocations: 205.4 MB / 0.6383 GB, free: 9.18 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.0007438/0.0007437, allocations: 88.28 kB / 0.7527 GB, free: 62.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000543/0.0005431, allocations: 12 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3188, allocations: 116.4 MB / 0.9905 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8348/1.154, allocations: 161.1 MB / 1.148 GB, free: 17.41 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/1.154, allocations: 97.66 kB / 1.148 GB, free: 17.33 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04209/1.196, allocations: 17.14 MB / 1.165 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.735e-06/1.196, allocations: 0 / 1.165 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.23e-05/1.196, allocations: 8 kB / 1.165 GB, free: 3.309 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.001294/1.198, allocations: 0.6349 MB / 1.165 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/1.198, allocations: 12.03 kB / 1.165 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008625/1.198, allocations: 104.4 kB / 1.165 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/1.199, allocations: 291.2 kB / 1.166 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/1.199, allocations: 12.81 kB / 1.166 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-05/1.199, allocations: 20.38 kB / 1.166 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/1.2, allocations: 423.1 kB / 1.166 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/1.2, allocations: 4.188 kB / 1.166 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/1.2, allocations: 7.938 kB / 1.166 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.306e-05/1.2, allocations: 25.36 kB / 1.166 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000806/1.201, allocations: 416.8 kB / 1.166 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/1.203, allocations: 1.662 MB / 1.168 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/1.204, allocations: 486.9 kB / 1.169 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004281/1.204, allocations: 206.8 kB / 1.169 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/1.204, allocations: 89.09 kB / 1.169 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005586/1.205, allocations: 275.5 kB / 1.169 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.415e-06/1.205, allocations: 0 / 1.169 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.001935/1.207, allocations: 0.7829 MB / 1.17 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/1.207, allocations: 93.08 kB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/1.207, allocations: 220.9 kB / 1.17 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/1.207, allocations: 33.7 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/1.207, allocations: 164.3 kB / 1.17 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/1.208, allocations: 90.66 kB / 1.17 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/1.208, allocations: 4 kB / 1.17 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.208, allocations: 338.8 kB / 1.171 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004092/1.208, allocations: 180.2 kB / 1.171 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/1.209, allocations: 257.3 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008917/1.21, allocations: 486.5 kB / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.21, allocations: 0 / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0012/1.211, allocations: 0.5647 MB / 1.172 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/1.211, allocations: 188.8 kB / 1.172 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/1.211, allocations: 0 / 1.172 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002389/1.211, allocations: 40.81 kB / 1.172 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/1.212, allocations: 95.86 kB / 1.173 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/1.213, allocations: 1.503 MB / 1.174 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/1.213, allocations: 51.8 kB / 1.174 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/1.213, allocations: 19.98 kB / 1.174 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/1.213, allocations: 4 kB / 1.174 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001016/1.214, allocations: 0.4935 MB / 1.175 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/1.215, allocations: 4 kB / 1.175 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/1.215, allocations: 40.83 kB / 1.175 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/1.215, allocations: 92.95 kB / 1.175 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/1.216, allocations: 1.478 MB / 1.176 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/1.217, allocations: 51.86 kB / 1.176 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/1.217, allocations: 16 kB / 1.176 GB, free: 6.66 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.0002853/1.217, allocations: 244.9 kB / 1.176 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/1.217, allocations: 27.66 kB / 1.176 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/1.218, allocations: 485.5 kB / 1.177 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.218, allocations: 4.141 kB / 1.177 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/1.218, allocations: 0 / 1.177 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/1.218, allocations: 7.969 kB / 1.177 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007845/1.219, allocations: 0.5777 MB / 1.177 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.219, allocations: 0 / 1.177 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/1.219, allocations: 75.92 kB / 1.178 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/1.219, allocations: 40.86 kB / 1.178 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/1.219, allocations: 8.625 kB / 1.178 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/1.221, allocations: 1.414 MB / 1.179 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.221, allocations: 3.938 kB / 1.179 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/1.222, allocations: 0.5571 MB / 1.18 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/1.222, allocations: 136.7 kB / 1.18 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/1.222, allocations: 8.938 kB / 1.18 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/1.223, allocations: 43.94 kB / 1.18 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.223, allocations: 27.95 kB / 1.18 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/1.223, allocations: 16 kB / 1.18 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001978/1.223, allocations: 168.5 kB / 1.18 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.9e-07/1.223, allocations: 0 / 1.18 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007341/1.224, allocations: 140 kB / 1.18 GB, free: 2.441 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.000233/1.224, allocations: 131.1 kB / 1.18 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001859/1.226, allocations: 1.025 MB / 1.181 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.226, allocations: 0 / 1.181 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005961/1.226, allocations: 347.3 kB / 1.181 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/1.227, allocations: 45.95 kB / 1.182 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/1.228, allocations: 0.7412 MB / 1.182 GB, free: 64 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/1.229, allocations: 0.7839 MB / 1.183 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003273/1.229, allocations: 98.95 kB / 1.183 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/1.229, allocations: 27.42 kB / 1.183 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of SimCode: time 4e-07/1.229, allocations: 0 / 1.183 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of Templates: time 0.008888/1.238, allocations: 4.063 MB / 1.187 GB, free: 11.11 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)