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.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.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.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.001125/0.001126, allocations: 182.6 kB / 371.6 MB, free: 3.406 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.516/1.516, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.000844/0.0008439, allocations: 90.16 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.671e-05/3.674e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2866, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9556/1.242, allocations: 160.9 MB / 1.137 GB, free: 28.95 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/1.243, allocations: 93.55 kB / 1.137 GB, free: 28.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04529/1.288, allocations: 16.99 MB / 1.154 GB, free: 19.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.345e-06/1.288, allocations: 0 / 1.154 GB, free: 19.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.823e-05/1.288, allocations: 8 kB / 1.154 GB, free: 19.94 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.001195/1.289, allocations: 0.6066 MB / 1.154 GB, free: 19.35 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.289, allocations: 12.03 kB / 1.154 GB, free: 19.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008392/1.29, allocations: 99.12 kB / 1.154 GB, free: 19.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/1.29, allocations: 268.1 kB / 1.155 GB, free: 19.01 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/1.29, allocations: 20.59 kB / 1.155 GB, free: 19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/1.291, allocations: 31.27 kB / 1.155 GB, free: 18.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/1.291, allocations: 363.9 kB / 1.155 GB, free: 18.74 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/1.291, allocations: 12.8 kB / 1.155 GB, free: 18.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/1.291, allocations: 3.438 kB / 1.155 GB, free: 18.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/1.291, allocations: 32.53 kB / 1.155 GB, free: 18.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004653/1.292, allocations: 315.5 kB / 1.155 GB, free: 18.53 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/1.294, allocations: 1.651 MB / 1.157 GB, free: 17.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007744/1.294, allocations: 399.5 kB / 1.157 GB, free: 16.89 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/1.295, allocations: 157.8 kB / 1.157 GB, free: 16.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/1.295, allocations: 95.83 kB / 1.158 GB, free: 16.69 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003561/1.295, allocations: 229.3 kB / 1.158 GB, free: 16.54 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.804e-06/1.295, allocations: 1.688 kB / 1.158 GB, free: 16.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0009181/1.296, allocations: 434.7 kB / 1.158 GB, free: 16.24 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/1.296, allocations: 94.05 kB / 1.158 GB, free: 16.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/1.296, allocations: 191.7 kB / 1.158 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/1.296, allocations: 32.8 kB / 1.158 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/1.296, allocations: 171 kB / 1.159 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.816e-05/1.297, allocations: 95.61 kB / 1.159 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/1.297, allocations: 8.312 kB / 1.159 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.37e-05/1.297, allocations: 333 kB / 1.159 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/1.297, allocations: 133.1 kB / 1.159 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/1.297, allocations: 204.3 kB / 1.159 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/1.297, allocations: 188.8 kB / 1.16 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.297, allocations: 0 / 1.16 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007697/1.298, allocations: 468.8 kB / 1.16 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002429/1.299, allocations: 0.9061 MB / 1.161 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.299, allocations: 4 kB / 1.161 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000272/1.299, allocations: 42.25 kB / 1.161 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/1.299, allocations: 93.55 kB / 1.161 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/1.3, allocations: 1.491 MB / 1.163 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/1.301, allocations: 54.66 kB / 1.163 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/1.301, allocations: 13.5 kB / 1.163 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/1.301, allocations: 8.062 kB / 1.163 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006546/1.302, allocations: 410 kB / 1.163 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/1.302, allocations: 5.062 kB / 1.163 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/1.302, allocations: 44.53 kB / 1.163 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/1.302, allocations: 90.39 kB / 1.163 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009168/1.303, allocations: 1.477 MB / 1.165 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/1.303, allocations: 48.78 kB / 1.165 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/1.303, allocations: 16.22 kB / 1.165 GB, free: 10.32 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 () * 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.0001311/1.303, allocations: 125.5 kB / 1.165 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/1.304, allocations: 30.86 kB / 1.165 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006822/1.304, allocations: 399.2 kB / 1.165 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/1.304, allocations: 0 / 1.165 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.304, allocations: 4 kB / 1.165 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.304, allocations: 3.844 kB / 1.165 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006827/1.305, allocations: 0.5716 MB / 1.166 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.305, allocations: 4 kB / 1.166 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/1.305, allocations: 82.33 kB / 1.166 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/1.305, allocations: 35.47 kB / 1.166 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/1.305, allocations: 11.56 kB / 1.166 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008257/1.306, allocations: 1.412 MB / 1.167 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.306, allocations: 5.203 kB / 1.167 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/1.307, allocations: 0.5038 MB / 1.168 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/1.307, allocations: 136.3 kB / 1.168 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.013e-05/1.307, allocations: 9.312 kB / 1.168 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/1.307, allocations: 39.95 kB / 1.168 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/1.308, allocations: 34.36 kB / 1.168 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/1.308, allocations: 16.61 kB / 1.168 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001636/1.308, allocations: 167.9 kB / 1.168 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.308, allocations: 0 / 1.168 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006846/1.308, allocations: 141.4 kB / 1.168 GB, free: 7.117 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) * 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.0002406/1.309, allocations: 124.2 kB / 1.168 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001185/1.31, allocations: 0.8635 MB / 1.169 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.31, allocations: 0 / 1.169 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000378/1.31, allocations: 289.7 kB / 1.169 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/1.311, allocations: 52.53 kB / 1.17 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000907/1.312, allocations: 470.1 kB / 1.17 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/1.312, allocations: 0.7939 MB / 1.171 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003333/1.312, allocations: 102.1 kB / 1.171 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.975e-05/1.312, allocations: 25.08 kB / 1.171 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/1.312, allocations: 0 / 1.171 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.009074/1.321, allocations: 4.317 MB / 1.175 GB, free: 2.07 MB / 0.7448 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)