Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.394/2.394, allocations: 285 MB / 292.5 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 184.9 kB / 360.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 98.62 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.229e-05, allocations: 4 kB / 0.8509 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.887/0.8871, allocations: 115.2 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2707/1.158, allocations: 160.5 MB / 1.12 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/1.158, allocations: 95.39 kB / 1.12 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0755/1.234, allocations: 17.57 MB / 1.137 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.403e-06/1.234, allocations: 0 / 1.137 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.671e-05/1.234, allocations: 8 kB / 1.137 GB, free: 10.2 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.0016/1.235, allocations: 0.6069 MB / 1.138 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/1.236, allocations: 12.03 kB / 1.138 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/1.237, allocations: 104.7 kB / 1.138 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/1.237, allocations: 286.2 kB / 1.138 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/1.237, allocations: 4 kB / 1.138 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-05/1.237, allocations: 12 kB / 1.138 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007208/1.238, allocations: 248.9 kB / 1.139 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008144/1.239, allocations: 341.8 kB / 1.139 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/1.239, allocations: 0 / 1.139 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/1.239, allocations: 0.8438 kB / 1.139 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.33e-05/1.239, allocations: 26.17 kB / 1.139 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003265/1.242, allocations: 1.595 MB / 1.141 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/1.244, allocations: 382.4 kB / 1.141 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/1.244, allocations: 153.7 kB / 1.141 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/1.245, allocations: 97.08 kB / 1.141 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005776/1.245, allocations: 224.3 kB / 1.141 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.966e-06/1.245, allocations: 0 / 1.141 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.001534/1.247, allocations: 422.6 kB / 1.142 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/1.247, allocations: 85.2 kB / 1.142 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/1.247, allocations: 191 kB / 1.142 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/1.247, allocations: 29.7 kB / 1.142 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/1.247, allocations: 160.2 kB / 1.142 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/1.247, allocations: 90.66 kB / 1.142 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/1.248, allocations: 0 / 1.142 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.248, allocations: 334.8 kB / 1.143 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/1.248, allocations: 124.3 kB / 1.143 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/1.249, allocations: 205.4 kB / 1.143 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005715/1.249, allocations: 163.6 kB / 1.143 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.249, allocations: 4 kB / 1.143 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001362/1.25, allocations: 424.3 kB / 1.144 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004734/1.251, allocations: 0.9001 MB / 1.144 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.251, allocations: 8 kB / 1.144 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/1.251, allocations: 40.81 kB / 1.144 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/1.252, allocations: 91.81 kB / 1.145 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/1.254, allocations: 1.436 MB / 1.146 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006665/1.255, allocations: 51.86 kB / 1.146 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/1.255, allocations: 11.98 kB / 1.146 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/1.255, allocations: 4 kB / 1.146 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001193/1.256, allocations: 358.6 kB / 1.146 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/1.256, allocations: 0 / 1.146 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/1.257, allocations: 49.23 kB / 1.146 GB, free: 456 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007172/1.257, allocations: 91.81 kB / 1.147 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/1.259, allocations: 1.423 MB / 1.148 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/1.26, allocations: 39.81 kB / 1.148 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/1.26, allocations: 15.98 kB / 1.148 GB, free: 14.77 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.000212/1.26, allocations: 120.7 kB / 1.148 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.877e-05/1.26, allocations: 23.72 kB / 1.148 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/1.261, allocations: 388 kB / 1.148 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.261, allocations: 4 kB / 1.148 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.262, allocations: 5.375 kB / 1.148 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.262, allocations: 7.984 kB / 1.148 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/1.263, allocations: 0.5043 MB / 1.149 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/1.263, allocations: 4 kB / 1.149 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007403/1.263, allocations: 79.95 kB / 1.149 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/1.264, allocations: 40.83 kB / 1.149 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/1.264, allocations: 6.797 kB / 1.149 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/1.265, allocations: 1.352 MB / 1.15 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.265, allocations: 0 / 1.15 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/1.267, allocations: 0.4964 MB / 1.151 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/1.267, allocations: 132.7 kB / 1.151 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/1.267, allocations: 7.953 kB / 1.151 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/1.268, allocations: 35.94 kB / 1.151 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.268, allocations: 39.95 kB / 1.151 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/1.268, allocations: 4 kB / 1.151 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002425/1.268, allocations: 160.5 kB / 1.151 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.11e-07/1.268, allocations: 0 / 1.151 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00093/1.269, allocations: 127.9 kB / 1.151 GB, free: 11 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.0002738/1.269, allocations: 123.1 kB / 1.151 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001985/1.271, allocations: 0.8311 MB / 1.152 GB, free: 10 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.271, allocations: 3.938 kB / 1.152 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007014/1.272, allocations: 282.8 kB / 1.153 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/1.273, allocations: 36.47 kB / 1.153 GB, free: 9.676 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/1.274, allocations: 445 kB / 1.153 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/1.275, allocations: 0.8001 MB / 1.154 GB, free: 8.379 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006605/1.275, allocations: 107.8 kB / 1.154 GB, free: 8.277 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/1.276, allocations: 20.09 kB / 1.154 GB, free: 8.258 MB / 0.7605 GB Notification: Performance of SimCode: time 9.62e-07/1.276, allocations: 0 / 1.154 GB, free: 8.258 MB / 0.7605 GB Notification: Performance of Templates: time 0.01357/1.289, allocations: 4.112 MB / 1.158 GB, free: 4.242 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)