Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.299/2.299, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 168.6 kB / 326.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.399/2.399, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009444/0.0009443, allocations: 93.98 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007432/0.0007434, allocations: 13.19 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2987, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.6742, allocations: 154.9 MB / 1.051 GB, free: 6.324 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005457/0.6749, allocations: 103.9 kB / 1.051 GB, free: 6.223 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7311/1.406, allocations: 17.78 MB / 1.068 GB, free: 152.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/1.406, allocations: 0.6875 kB / 1.068 GB, free: 152.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.915e-05/1.406, allocations: 8.844 kB / 1.068 GB, free: 152.2 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.001656/1.408, allocations: 0.6369 MB / 1.069 GB, free: 151.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1.408, allocations: 12.91 kB / 1.069 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/1.409, allocations: 105.2 kB / 1.069 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/1.41, allocations: 276 kB / 1.069 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/1.41, allocations: 15.88 kB / 1.069 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.712e-05/1.41, allocations: 22.06 kB / 1.069 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/1.411, allocations: 423.6 kB / 1.07 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/1.411, allocations: 1 kB / 1.07 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.592e-05/1.411, allocations: 14.05 kB / 1.07 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.911e-05/1.411, allocations: 23.58 kB / 1.07 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/1.413, allocations: 418.5 kB / 1.07 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/1.416, allocations: 1.654 MB / 1.072 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/1.418, allocations: 482.2 kB / 1.072 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007586/1.419, allocations: 205.6 kB / 1.072 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/1.419, allocations: 94.86 kB / 1.073 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000893/1.42, allocations: 283.3 kB / 1.073 GB, free: 149.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 2.986e-06/1.42, allocations: 0 / 1.073 GB, free: 149.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.00332/1.423, allocations: 0.7789 MB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/1.423, allocations: 84.8 kB / 1.074 GB, free: 149.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/1.424, allocations: 221.8 kB / 1.074 GB, free: 149.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/1.424, allocations: 32.83 kB / 1.074 GB, free: 149.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/1.424, allocations: 161 kB / 1.074 GB, free: 149.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/1.424, allocations: 92.97 kB / 1.074 GB, free: 149.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/1.424, allocations: 8.875 kB / 1.074 GB, free: 149.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.738e-05/1.424, allocations: 336.7 kB / 1.074 GB, free: 149 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007401/1.425, allocations: 185.1 kB / 1.075 GB, free: 149 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007688/1.426, allocations: 257.5 kB / 1.075 GB, free: 148.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/1.426, allocations: 230.8 kB / 1.075 GB, free: 148.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.427, allocations: 1.5 kB / 1.075 GB, free: 148.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002035/1.429, allocations: 0.5659 MB / 1.076 GB, free: 148.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/1.429, allocations: 180.3 kB / 1.076 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.429, allocations: 2.375 kB / 1.076 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003374/1.429, allocations: 44.73 kB / 1.076 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/1.43, allocations: 93.27 kB / 1.076 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/1.432, allocations: 1.504 MB / 1.077 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006941/1.432, allocations: 52.97 kB / 1.077 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/1.432, allocations: 18.44 kB / 1.077 GB, free: 147.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/1.432, allocations: 3.188 kB / 1.077 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001853/1.434, allocations: 0.4961 MB / 1.078 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.434, allocations: 2.375 kB / 1.078 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/1.434, allocations: 43.55 kB / 1.078 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006756/1.435, allocations: 92.78 kB / 1.078 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/1.437, allocations: 1.484 MB / 1.08 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000608/1.437, allocations: 48.97 kB / 1.08 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/1.437, allocations: 14.41 kB / 1.08 GB, free: 145.8 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.0003541/1.438, allocations: 238.5 kB / 1.08 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/1.438, allocations: 27.34 kB / 1.08 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/1.44, allocations: 491.8 kB / 1.08 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/1.44, allocations: 3.969 kB / 1.08 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.44, allocations: 4 kB / 1.08 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/1.44, allocations: 12.88 kB / 1.08 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/1.441, allocations: 0.5618 MB / 1.081 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.441, allocations: 1.188 kB / 1.081 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007147/1.441, allocations: 81.3 kB / 1.081 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/1.442, allocations: 38.36 kB / 1.081 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/1.442, allocations: 10.61 kB / 1.081 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/1.443, allocations: 1.414 MB / 1.082 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.443, allocations: 1.438 kB / 1.082 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/1.445, allocations: 0.5651 MB / 1.083 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/1.445, allocations: 130.5 kB / 1.083 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.413e-05/1.445, allocations: 11.05 kB / 1.083 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/1.446, allocations: 39.66 kB / 1.083 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/1.446, allocations: 33.28 kB / 1.083 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/1.446, allocations: 9.281 kB / 1.083 GB, free: 143.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002591/1.446, allocations: 173.4 kB / 1.083 GB, free: 143.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.446, allocations: 0 / 1.083 GB, free: 143.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009381/1.447, allocations: 143.9 kB / 1.083 GB, free: 143.5 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.0002313/1.448, allocations: 129.2 kB / 1.084 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003004/1.451, allocations: 1.026 MB / 1.085 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/1.451, allocations: 0 / 1.085 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.452, allocations: 335.1 kB / 1.085 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006858/1.452, allocations: 45.83 kB / 1.085 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/1.454, allocations: 0.7477 MB / 1.086 GB, free: 142.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/1.455, allocations: 0.7814 MB / 1.086 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005642/1.455, allocations: 107.7 kB / 1.087 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/1.455, allocations: 22.94 kB / 1.087 GB, free: 141.8 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/1.455, allocations: 0 / 1.087 GB, free: 141.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01336/1.469, allocations: 4.064 MB / 1.091 GB, free: 140 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)