Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.599/1.599, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001138/0.001138, allocations: 176.8 kB / 366.7 MB, free: 1.699 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.801/1.801, allocations: 205.3 MB / 0.626 GB, free: 7.184 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.0009324/0.0009323, allocations: 72.47 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.049e-05/2.047e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7168/0.7169, allocations: 116.3 MB / 0.9733 GB, free: 76.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2104/0.9273, allocations: 161.7 MB / 1.131 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.9276, allocations: 91.94 kB / 1.131 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04488/0.9725, allocations: 17.58 MB / 1.148 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9726, allocations: 0 / 1.148 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.326e-05/0.9726, allocations: 7.984 kB / 1.148 GB, free: 2.785 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.001208/0.9738, allocations: 0.6171 MB / 1.149 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.9739, allocations: 8.031 kB / 1.149 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008545/0.9747, allocations: 99.53 kB / 1.149 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.9752, allocations: 286 kB / 1.149 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.9753, allocations: 7.984 kB / 1.149 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.9753, allocations: 16 kB / 1.149 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004535/0.9758, allocations: 241.9 kB / 1.15 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/0.9763, allocations: 341.8 kB / 1.15 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.9763, allocations: 3.984 kB / 1.15 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.9764, allocations: 0 / 1.15 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.493e-05/0.9764, allocations: 24.36 kB / 1.15 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.9785, allocations: 1.595 MB / 1.152 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/0.9792, allocations: 386.9 kB / 1.152 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.9795, allocations: 157.6 kB / 1.152 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.9797, allocations: 85.09 kB / 1.152 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003326/0.98, allocations: 225.6 kB / 1.152 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=27): time 2.134e-06/0.98, allocations: 0 / 1.152 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28): time 0.0009321/0.981, allocations: 426.8 kB / 1.153 GB, free: 14 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.981, allocations: 89.05 kB / 1.153 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.9813, allocations: 187 kB / 1.153 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.9813, allocations: 33.69 kB / 1.153 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.9814, allocations: 156.2 kB / 1.153 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.998e-05/0.9815, allocations: 90.75 kB / 1.153 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.9815, allocations: 4 kB / 1.153 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.9817, allocations: 338.8 kB / 1.154 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.9819, allocations: 120.3 kB / 1.154 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.9822, allocations: 197.4 kB / 1.154 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.9825, allocations: 160.1 kB / 1.154 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9825, allocations: 4 kB / 1.154 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008044/0.9833, allocations: 427.5 kB / 1.154 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004488/0.9838, allocations: 0.9031 MB / 1.155 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.9838, allocations: 4 kB / 1.155 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.984, allocations: 40.83 kB / 1.155 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.9844, allocations: 91.86 kB / 1.155 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.9858, allocations: 1.436 MB / 1.157 GB, free: 9.496 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.9862, allocations: 43.8 kB / 1.157 GB, free: 9.453 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.9862, allocations: 19.98 kB / 1.157 GB, free: 9.434 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/0.9862, allocations: 4.938 kB / 1.157 GB, free: 9.43 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006841/0.9869, allocations: 360.5 kB / 1.157 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.9869, allocations: 3.938 kB / 1.157 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.9871, allocations: 45 kB / 1.157 GB, free: 9.023 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.9874, allocations: 84.05 kB / 1.157 GB, free: 8.941 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.9886, allocations: 1.433 MB / 1.159 GB, free: 7.387 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.9889, allocations: 47.86 kB / 1.159 GB, free: 7.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.989, allocations: 8 kB / 1.159 GB, free: 7.332 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.000125/0.9891, allocations: 116.9 kB / 1.159 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.9892, allocations: 23.72 kB / 1.159 GB, free: 7.188 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007363/0.9899, allocations: 400.3 kB / 1.159 GB, free: 6.785 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.9899, allocations: 4 kB / 1.159 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.9899, allocations: 0 / 1.159 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.99, allocations: 4 kB / 1.159 GB, free: 6.777 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000624/0.9906, allocations: 0.5082 MB / 1.16 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.9906, allocations: 8.031 kB / 1.16 GB, free: 6.211 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.991, allocations: 75.86 kB / 1.16 GB, free: 6.137 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/0.9911, allocations: 36.83 kB / 1.16 GB, free: 6.098 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.9912, allocations: 4 kB / 1.16 GB, free: 6.094 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.9922, allocations: 1.352 MB / 1.161 GB, free: 4.633 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.9922, allocations: 3.938 kB / 1.161 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006537/0.9929, allocations: 495.7 kB / 1.162 GB, free: 4.098 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.993, allocations: 136.7 kB / 1.162 GB, free: 3.945 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.9931, allocations: 4 kB / 1.162 GB, free: 3.941 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.9934, allocations: 39.91 kB / 1.162 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.9935, allocations: 35.89 kB / 1.162 GB, free: 3.867 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.9935, allocations: 8 kB / 1.162 GB, free: 3.859 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001312/0.9937, allocations: 160.5 kB / 1.162 GB, free: 3.703 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9937, allocations: 1.781 kB / 1.162 GB, free: 3.703 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005732/0.9942, allocations: 127.9 kB / 1.162 GB, free: 3.578 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.0001864/0.9944, allocations: 127.1 kB / 1.162 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.9956, allocations: 0.8241 MB / 1.163 GB, free: 2.574 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.9956, allocations: 256 / 1.163 GB, free: 2.574 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.996, allocations: 281.6 kB / 1.164 GB, free: 2.289 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.9963, allocations: 32.41 kB / 1.164 GB, free: 2.258 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/0.9973, allocations: 466.1 kB / 1.164 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.9976, allocations: 0.7885 MB / 1.165 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003301/0.998, allocations: 108.5 kB / 1.165 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.935e-05/0.9981, allocations: 27.42 kB / 1.165 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of SimCode: time 3.61e-07/0.9981, allocations: 0 / 1.165 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of Templates: time 0.007842/1.006, allocations: 4.1 MB / 1.169 GB, free: 12.82 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)