Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.307/1.307, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009896/0.0009896, allocations: 179.3 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.4 MB / 0.5785 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008497/0.0008497, allocations: 94.66 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 17 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2032, allocations: 106.3 MB / 0.9012 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.182/0.3852, allocations: 152.2 MB / 1.05 GB, free: 7.711 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.3856, allocations: 95.94 kB / 1.05 GB, free: 7.617 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4111/0.7967, allocations: 12.26 MB / 1.062 GB, free: 151.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7968, allocations: 0 / 1.062 GB, free: 151.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.7968, allocations: 6.938 kB / 1.062 GB, free: 151.5 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005137/0.7973, allocations: 473.3 kB / 1.062 GB, free: 151.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.7974, allocations: 11.25 kB / 1.062 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005285/0.7979, allocations: 65.56 kB / 1.062 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.7981, allocations: 236.2 kB / 1.063 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.7981, allocations: 9.75 kB / 1.063 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.7982, allocations: 14.39 kB / 1.063 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.7985, allocations: 280.5 kB / 1.063 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.7986, allocations: 3.719 kB / 1.063 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.7986, allocations: 4.906 kB / 1.063 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.7987, allocations: 23.41 kB / 1.063 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.799, allocations: 207.9 kB / 1.063 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.8003, allocations: 1.579 MB / 1.065 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.666e-05/0.8004, allocations: 74.77 kB / 1.065 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.684e-05/0.8005, allocations: 41.28 kB / 1.065 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.8005, allocations: 13.92 kB / 1.065 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.8005, allocations: 38.38 kB / 1.065 GB, free: 149.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.8005, allocations: 0 / 1.065 GB, free: 149.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0004398/0.8009, allocations: 221.3 kB / 1.065 GB, free: 149.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.801, allocations: 84.02 kB / 1.065 GB, free: 149.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.8012, allocations: 217.8 kB / 1.065 GB, free: 149.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.8012, allocations: 31.61 kB / 1.065 GB, free: 149.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.8013, allocations: 160.5 kB / 1.066 GB, free: 149 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.8013, allocations: 32.36 kB / 1.066 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/0.8013, allocations: 4 kB / 1.066 GB, free: 148.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.243e-05/0.8014, allocations: 325.4 kB / 1.066 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.8015, allocations: 73.62 kB / 1.066 GB, free: 148.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.8016, allocations: 163 kB / 1.066 GB, free: 148.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.8018, allocations: 243.2 kB / 1.066 GB, free: 148.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.8018, allocations: 0 / 1.066 GB, free: 148.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003469/0.8022, allocations: 273 kB / 1.067 GB, free: 148.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/0.8023, allocations: 176.8 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8023, allocations: 9.281 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.8023, allocations: 2.781 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.8025, allocations: 56.59 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.8025, allocations: 8.031 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.8027, allocations: 19.27 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.8028, allocations: 13.23 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.42e-06/0.8028, allocations: 5.719 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002748/0.8031, allocations: 216.9 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.8031, allocations: 2.969 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-06/0.8031, allocations: 5.938 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.8032, allocations: 49.81 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.8032, allocations: 7.234 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.8034, allocations: 17.8 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.8034, allocations: 9.609 kB / 1.067 GB, free: 148.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.798e-05/0.8035, allocations: 226.7 kB / 1.067 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.8036, allocations: 14.59 kB / 1.067 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.8037, allocations: 115.7 kB / 1.068 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.8037, allocations: 1.688 kB / 1.068 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8037, allocations: 3.938 kB / 1.068 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.8038, allocations: 0.7031 kB / 1.068 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.8044, allocations: 0.6225 MB / 1.068 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.8044, allocations: 2.75 kB / 1.068 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.99e-05/0.8044, allocations: 21.5 kB / 1.068 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.8045, allocations: 2.844 kB / 1.068 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.8045, allocations: 6.781 kB / 1.068 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.8045, allocations: 7.469 kB / 1.068 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8045, allocations: 4.188 kB / 1.068 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.8047, allocations: 339.7 kB / 1.069 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.8047, allocations: 104.4 kB / 1.069 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.8048, allocations: 1.656 kB / 1.069 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.8049, allocations: 13.88 kB / 1.069 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.805, allocations: 11.53 kB / 1.069 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.805, allocations: 2.656 kB / 1.069 GB, free: 147 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001582/0.8051, allocations: 170.5 kB / 1.069 GB, free: 146.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8051, allocations: 4.875 kB / 1.069 GB, free: 146.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004916/0.8056, allocations: 89.7 kB / 1.069 GB, free: 146.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001381/0.8058, allocations: 114.3 kB / 1.069 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004344/0.8062, allocations: 268.6 kB / 1.069 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8062, allocations: 4.188 kB / 1.069 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.725e-05/0.8063, allocations: 49.16 kB / 1.069 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.8068, allocations: 30.12 kB / 1.069 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/0.8075, allocations: 477.9 kB / 1.07 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.8077, allocations: 0.7344 MB / 1.071 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002278/0.8079, allocations: 78.27 kB / 1.071 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.808, allocations: 16.77 kB / 1.071 GB, free: 145.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.808, allocations: 0 / 1.071 GB, free: 145.8 MB / 0.698 GB Notification: Performance of Templates: time 0.004618/0.8126, allocations: 1.557 MB / 1.072 GB, free: 145.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)