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.771/1.771, allocations: 285.4 MB / 298 MB, free: 5.949 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.001056/0.001056, allocations: 180.8 kB / 366.4 MB, free: 2.113 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.506/1.506, allocations: 205.1 MB / 0.6248 GB, free: 7.754 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.000874/0.0008738, allocations: 95.56 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.315e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7237/0.7238, allocations: 115.3 MB / 0.9709 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/0.9302, allocations: 159.9 MB / 1.127 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/0.9306, allocations: 95.92 kB / 1.127 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04349/0.9741, allocations: 17 MB / 1.144 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9741, allocations: 0 / 1.144 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.563e-05/0.9742, allocations: 8 kB / 1.144 GB, free: 6.727 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.001242/0.9754, allocations: 0.6068 MB / 1.144 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.9755, allocations: 8.031 kB / 1.144 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000874/0.9764, allocations: 107.5 kB / 1.144 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.9768, allocations: 279.7 kB / 1.145 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.9769, allocations: 16.44 kB / 1.145 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/0.9769, allocations: 19.98 kB / 1.145 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/0.9776, allocations: 374.9 kB / 1.145 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.9777, allocations: 0 / 1.145 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.9777, allocations: 12 kB / 1.145 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/0.9777, allocations: 24.34 kB / 1.145 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/0.9783, allocations: 312.9 kB / 1.145 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.9804, allocations: 1.658 MB / 1.147 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/0.9812, allocations: 396.6 kB / 1.147 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.9815, allocations: 159.9 kB / 1.148 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.9817, allocations: 97.08 kB / 1.148 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003751/0.982, allocations: 228.7 kB / 1.148 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.164e-06/0.9821, allocations: 3.938 kB / 1.148 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0009846/0.983, allocations: 428.8 kB / 1.148 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.9831, allocations: 85.2 kB / 1.148 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.9833, allocations: 200.8 kB / 1.149 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.9834, allocations: 33.7 kB / 1.149 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.892e-05/0.9835, allocations: 164.1 kB / 1.149 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/0.9836, allocations: 94.64 kB / 1.149 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.9836, allocations: 8 kB / 1.149 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.9837, allocations: 334.8 kB / 1.149 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.984, allocations: 132.3 kB / 1.149 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.9842, allocations: 209.1 kB / 1.15 GB, free: 432 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.9845, allocations: 190.8 kB / 1.15 GB, free: 236 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9845, allocations: 0 / 1.15 GB, free: 236 kB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008586/0.9854, allocations: 469.4 kB / 1.15 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003984/0.9858, allocations: 0.9073 MB / 1.151 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.9858, allocations: 4 kB / 1.151 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/0.9861, allocations: 40.81 kB / 1.151 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.9865, allocations: 91.86 kB / 1.151 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.9879, allocations: 1.492 MB / 1.153 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.9883, allocations: 57.27 kB / 1.153 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.9884, allocations: 12 kB / 1.153 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.9884, allocations: 4 kB / 1.153 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006979/0.9891, allocations: 414 kB / 1.153 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.9891, allocations: 288 / 1.153 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/0.9893, allocations: 52.81 kB / 1.153 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.9897, allocations: 79.88 kB / 1.153 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.9909, allocations: 1.483 MB / 1.155 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.9912, allocations: 51.8 kB / 1.155 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.9913, allocations: 18.55 kB / 1.155 GB, free: 10.71 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.0001498/0.9915, allocations: 128.9 kB / 1.155 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.9915, allocations: 28.8 kB / 1.155 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000714/0.9922, allocations: 388.6 kB / 1.155 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.9923, allocations: 8 kB / 1.155 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.9923, allocations: 0 / 1.155 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.9923, allocations: 7.984 kB / 1.155 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007187/0.993, allocations: 0.5622 MB / 1.156 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.993, allocations: 0 / 1.156 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.9934, allocations: 87.95 kB / 1.156 GB, free: 9.43 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.9935, allocations: 36.83 kB / 1.156 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.9936, allocations: 4 kB / 1.156 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.9947, allocations: 1.411 MB / 1.157 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.9947, allocations: 0 / 1.157 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/0.9954, allocations: 0.5182 MB / 1.158 GB, free: 7.281 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.9956, allocations: 136.6 kB / 1.158 GB, free: 7.129 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.9956, allocations: 11.98 kB / 1.158 GB, free: 7.117 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.9959, allocations: 43.95 kB / 1.158 GB, free: 7.074 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.9961, allocations: 31.95 kB / 1.158 GB, free: 7.043 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.9961, allocations: 8 kB / 1.158 GB, free: 7.035 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001615/0.9963, allocations: 169.4 kB / 1.158 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9963, allocations: 0 / 1.158 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006047/0.9969, allocations: 148 kB / 1.158 GB, free: 6.723 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.0002695/0.9972, allocations: 131.1 kB / 1.159 GB, free: 6.586 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.9985, allocations: 0.8676 MB / 1.159 GB, free: 5.668 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.9985, allocations: 1.125 kB / 1.159 GB, free: 5.668 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.9989, allocations: 286.6 kB / 1.16 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.9993, allocations: 41.16 kB / 1.16 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/1, allocations: 472.5 kB / 1.16 GB, free: 4.848 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/1.001, allocations: 0.7924 MB / 1.161 GB, free: 4.027 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003972/1.001, allocations: 97.98 kB / 1.161 GB, free: 3.934 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/1.002, allocations: 31.42 kB / 1.161 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of SimCode: time 2.51e-07/1.002, allocations: 0 / 1.161 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of Templates: time 0.009409/1.011, allocations: 4.312 MB / 1.165 GB, free: 15.68 MB / 0.7761 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)