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.784/1.784, allocations: 288.3 MB / 303.2 MB, free: 8.043 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.00144/0.00144, allocations: 183.5 kB / 371.8 MB, free: 10.28 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.852/1.852, allocations: 205.4 MB / 0.6306 GB, free: 9.934 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 101.4 kB / 0.7439 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004334/0.0004332, allocations: 11.09 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2736, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8579/1.132, allocations: 160 MB / 1.136 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/1.132, allocations: 98.03 kB / 1.136 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03847/1.17, allocations: 17.1 MB / 1.152 GB, free: 23.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.266e-06/1.17, allocations: 0 / 1.152 GB, free: 23.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.072e-05/1.17, allocations: 15.94 kB / 1.153 GB, free: 23.47 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.001154/1.172, allocations: 0.6305 MB / 1.153 GB, free: 22.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/1.172, allocations: 16.02 kB / 1.153 GB, free: 22.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007691/1.172, allocations: 99.52 kB / 1.153 GB, free: 22.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/1.173, allocations: 274.1 kB / 1.153 GB, free: 22.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/1.173, allocations: 15.38 kB / 1.154 GB, free: 22.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/1.173, allocations: 23.05 kB / 1.154 GB, free: 22.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007958/1.174, allocations: 425.1 kB / 1.154 GB, free: 22.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/1.174, allocations: 3.906 kB / 1.154 GB, free: 22.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/1.174, allocations: 15.48 kB / 1.154 GB, free: 22.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/1.174, allocations: 20.31 kB / 1.154 GB, free: 22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007728/1.175, allocations: 413.6 kB / 1.154 GB, free: 21.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/1.177, allocations: 1.65 MB / 1.156 GB, free: 20.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/1.178, allocations: 489.2 kB / 1.156 GB, free: 19.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/1.178, allocations: 96.64 kB / 1.157 GB, free: 19.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005102/1.178, allocations: 280.8 kB / 1.157 GB, free: 19.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 2.013e-06/1.178, allocations: 0 / 1.157 GB, free: 19.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001796/1.18, allocations: 0.7769 MB / 1.158 GB, free: 18.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/1.18, allocations: 88.98 kB / 1.158 GB, free: 18.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/1.18, allocations: 203.8 kB / 1.158 GB, free: 18.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/1.18, allocations: 28.89 kB / 1.158 GB, free: 18.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/1.181, allocations: 177.7 kB / 1.158 GB, free: 18.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/1.181, allocations: 95.08 kB / 1.158 GB, free: 18.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/1.181, allocations: 3 kB / 1.158 GB, free: 18.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.181, allocations: 339.7 kB / 1.158 GB, free: 17.83 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/1.181, allocations: 179.7 kB / 1.159 GB, free: 17.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/1.182, allocations: 258.9 kB / 1.159 GB, free: 17.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/1.182, allocations: 232.5 kB / 1.159 GB, free: 17.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.182, allocations: 0 / 1.159 GB, free: 17.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00101/1.183, allocations: 0.5615 MB / 1.16 GB, free: 16.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004185/1.183, allocations: 0.9058 MB / 1.161 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.184, allocations: 4 kB / 1.161 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/1.184, allocations: 42.77 kB / 1.161 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/1.184, allocations: 95.05 kB / 1.161 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/1.186, allocations: 1.499 MB / 1.162 GB, free: 14.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/1.186, allocations: 51.08 kB / 1.162 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/1.186, allocations: 19.55 kB / 1.162 GB, free: 14.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/1.186, allocations: 4.062 kB / 1.162 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009468/1.187, allocations: 0.4983 MB / 1.163 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.187, allocations: 4 kB / 1.163 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/1.187, allocations: 43.98 kB / 1.163 GB, free: 13.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/1.187, allocations: 83.86 kB / 1.163 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/1.188, allocations: 1.495 MB / 1.164 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/1.189, allocations: 51.67 kB / 1.164 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/1.189, allocations: 16 kB / 1.164 GB, free: 12.06 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.0002754/1.189, allocations: 249.7 kB / 1.165 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/1.189, allocations: 27.67 kB / 1.165 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/1.19, allocations: 496.2 kB / 1.165 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.19, allocations: 0 / 1.165 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/1.19, allocations: 4 kB / 1.165 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.19, allocations: 0 / 1.165 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007105/1.191, allocations: 0.5709 MB / 1.166 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.191, allocations: 4 kB / 1.166 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/1.191, allocations: 79.33 kB / 1.166 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/1.191, allocations: 40.45 kB / 1.166 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/1.192, allocations: 7.938 kB / 1.166 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/1.193, allocations: 1.428 MB / 1.167 GB, free: 9.281 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.193, allocations: 4.031 kB / 1.167 GB, free: 9.277 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/1.194, allocations: 0.5995 MB / 1.168 GB, free: 8.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/1.194, allocations: 136.8 kB / 1.168 GB, free: 8.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/1.194, allocations: 7.312 kB / 1.168 GB, free: 8.586 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/1.194, allocations: 42.83 kB / 1.168 GB, free: 8.547 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/1.194, allocations: 29.52 kB / 1.168 GB, free: 8.523 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/1.194, allocations: 11.44 kB / 1.168 GB, free: 8.516 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001683/1.195, allocations: 174.5 kB / 1.168 GB, free: 8.371 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.195, allocations: 0 / 1.168 GB, free: 8.371 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006727/1.195, allocations: 148.5 kB / 1.168 GB, free: 8.242 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.0002544/1.195, allocations: 126.7 kB / 1.168 GB, free: 8.109 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001846/1.197, allocations: 1.009 MB / 1.169 GB, free: 7.219 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.197, allocations: 0 / 1.169 GB, free: 7.219 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006049/1.198, allocations: 339 kB / 1.17 GB, free: 6.926 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/1.198, allocations: 47.42 kB / 1.17 GB, free: 6.891 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/1.2, allocations: 0.7372 MB / 1.17 GB, free: 6.188 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/1.2, allocations: 0.7948 MB / 1.171 GB, free: 5.371 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003234/1.2, allocations: 102.4 kB / 1.171 GB, free: 5.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/1.201, allocations: 23 kB / 1.171 GB, free: 5.25 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/1.201, allocations: 4 kB / 1.171 GB, free: 5.246 MB / 0.698 GB Notification: Performance of Templates: time 0.008421/1.209, allocations: 4.041 MB / 1.175 GB, free: 1.242 MB / 0.698 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)