Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.636/1.636, allocations: 297.8 MB / 313.8 MB, free: 104 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001104, allocations: 187.1 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.2 MB / 0.6626 GB, free: 4.352 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007938/0.0007941, allocations: 91.41 kB / 0.7808 GB, free: 43.7 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 16 kB / 0.9088 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6374/0.6378, allocations: 120.3 MB / 1.026 GB, free: 56.79 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2138/0.8517, allocations: 163.5 MB / 1.186 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.852, allocations: 96.98 kB / 1.186 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.0467/0.8988, allocations: 18.7 MB / 1.204 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.517e-06/0.8988, allocations: 0 / 1.204 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.609e-05/0.8989, allocations: 12 kB / 1.204 GB, free: 7.793 MB / 0.7761 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.001356/0.9002, allocations: 0.6374 MB / 1.205 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.9003, allocations: 8.031 kB / 1.205 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008761/0.9012, allocations: 100.5 kB / 1.205 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.9016, allocations: 290.2 kB / 1.205 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.9017, allocations: 12.81 kB / 1.205 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.776e-05/0.9017, allocations: 24.38 kB / 1.205 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008112/0.9026, allocations: 427.1 kB / 1.206 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.9026, allocations: 192 / 1.206 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.9026, allocations: 7.938 kB / 1.206 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.367e-05/0.9027, allocations: 20.36 kB / 1.206 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000886/0.9036, allocations: 421.5 kB / 1.206 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.9056, allocations: 1.654 MB / 1.208 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.9067, allocations: 493 kB / 1.208 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/0.9071, allocations: 211.4 kB / 1.209 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.9073, allocations: 85.09 kB / 1.209 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004995/0.9078, allocations: 282.4 kB / 1.209 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 2.435e-06/0.9078, allocations: 0 / 1.209 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28): time 0.001778/0.9096, allocations: 0.7713 MB / 1.21 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.9096, allocations: 89.09 kB / 1.21 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.9099, allocations: 216.9 kB / 1.21 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.9099, allocations: 37.7 kB / 1.21 GB, free: 1.691 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.782e-05/0.91, allocations: 172.3 kB / 1.21 GB, free: 1.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.538e-05/0.9101, allocations: 90.66 kB / 1.21 GB, free: 1.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.9101, allocations: 11.94 kB / 1.21 GB, free: 1.418 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.9102, allocations: 334.8 kB / 1.211 GB, free: 1.082 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.9106, allocations: 180.2 kB / 1.211 GB, free: 0.9062 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.911, allocations: 253.3 kB / 1.211 GB, free: 0.6289 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008003/0.9119, allocations: 478.5 kB / 1.211 GB, free: 128 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9119, allocations: 4 kB / 1.211 GB, free: 124 kB / 0.7761 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001096/0.913, allocations: 0.5609 MB / 1.212 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.9131, allocations: 190.6 kB / 1.212 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.9131, allocations: 4 kB / 1.212 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002304/0.9134, allocations: 40.81 kB / 1.212 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.9138, allocations: 91.8 kB / 1.212 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.9154, allocations: 1.501 MB / 1.214 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.9157, allocations: 55.86 kB / 1.214 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.9158, allocations: 19.97 kB / 1.214 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.9158, allocations: 4 kB / 1.214 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001035/0.9168, allocations: 0.4943 MB / 1.214 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.9169, allocations: 0 / 1.214 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.917, allocations: 36.83 kB / 1.214 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.9173, allocations: 91.86 kB / 1.214 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.9186, allocations: 1.489 MB / 1.216 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.9189, allocations: 47.92 kB / 1.216 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.919, allocations: 16 kB / 1.216 GB, free: 11.14 MB / 0.7917 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.0002469/0.9192, allocations: 237.5 kB / 1.216 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.9193, allocations: 27.66 kB / 1.216 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.9203, allocations: 495 kB / 1.217 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.9203, allocations: 7.938 kB / 1.217 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.9203, allocations: 0 / 1.217 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.9203, allocations: 7.984 kB / 1.217 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006967/0.921, allocations: 0.5623 MB / 1.217 GB, free: 9.738 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.9211, allocations: 0 / 1.217 GB, free: 9.738 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.9214, allocations: 83.86 kB / 1.217 GB, free: 9.656 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001184/0.9216, allocations: 36.95 kB / 1.217 GB, free: 9.617 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.9216, allocations: 8 kB / 1.217 GB, free: 9.609 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.9226, allocations: 1.42 MB / 1.219 GB, free: 8.059 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.9227, allocations: 4.031 kB / 1.219 GB, free: 8.051 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009585/0.9236, allocations: 0.5609 MB / 1.219 GB, free: 7.461 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.9238, allocations: 128.7 kB / 1.219 GB, free: 7.316 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.9239, allocations: 19.98 kB / 1.219 GB, free: 7.297 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.9242, allocations: 39.95 kB / 1.219 GB, free: 7.258 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.9243, allocations: 27.95 kB / 1.219 GB, free: 7.23 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.9243, allocations: 11.94 kB / 1.219 GB, free: 7.219 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001718/0.9245, allocations: 172.5 kB / 1.22 GB, free: 7.047 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9245, allocations: 0 / 1.22 GB, free: 7.047 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000659/0.9252, allocations: 148 kB / 1.22 GB, free: 6.902 MB / 0.7917 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.0002212/0.9254, allocations: 123.1 kB / 1.22 GB, free: 6.773 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001826/0.9272, allocations: 1.016 MB / 1.221 GB, free: 5.707 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.9272, allocations: 4.25 kB / 1.221 GB, free: 5.703 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006081/0.9279, allocations: 340.1 kB / 1.221 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.9284, allocations: 47.86 kB / 1.221 GB, free: 5.316 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.9298, allocations: 0.7384 MB / 1.222 GB, free: 4.543 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.9302, allocations: 0.7878 MB / 1.223 GB, free: 3.73 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000352/0.9306, allocations: 98.33 kB / 1.223 GB, free: 3.633 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.9307, allocations: 31.42 kB / 1.223 GB, free: 3.602 MB / 0.7917 GB Notification: Performance of SimCode: time 2.5e-07/0.9307, allocations: 0 / 1.223 GB, free: 3.602 MB / 0.7917 GB Notification: Performance of Templates: time 0.008776/0.9395, allocations: 4.069 MB / 1.227 GB, free: 15.56 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)