Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.423/1.423, allocations: 252 MB / 268 MB, free: 10.87 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.001212/0.001212, allocations: 170.1 kB / 327.6 MB, free: 2.109 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.502/1.502, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0007948/0.0007948, allocations: 80.92 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003335, allocations: 11.91 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1963, allocations: 106.3 MB / 0.9015 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01299/0.2093, allocations: 16.04 MB / 0.9171 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008619/0.218, allocations: 6.279 MB / 0.9233 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.2198, allocations: 39.88 kB / 0.9233 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.2209, allocations: 317.7 kB / 0.9236 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.2231, allocations: 0.7901 MB / 0.9244 GB, free: 40 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.2258, allocations: 1.08 MB / 0.9254 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004375/0.2302, allocations: 5.778 MB / 0.9311 GB, free: 33.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007471/0.2377, allocations: 6.144 MB / 0.9371 GB, free: 26.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.2396, allocations: 1.164 MB / 0.9382 GB, free: 25.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/0.2419, allocations: 1.721 MB / 0.9399 GB, free: 24.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005811/0.2425, allocations: 163.9 kB / 0.94 GB, free: 23.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.2441, allocations: 0.7487 MB / 0.9408 GB, free: 23.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.2455, allocations: 1.212 MB / 0.942 GB, free: 21.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001809/0.2473, allocations: 1.246 MB / 0.9432 GB, free: 20.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003535/0.2509, allocations: 4.648 MB / 0.9477 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2509, allocations: 0 / 0.9477 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2509, allocations: 4 kB / 0.9477 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001442/0.2511, allocations: 0 / 0.9477 GB, free: 15.96 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.004088/0.2552, allocations: 2.213 MB / 0.9499 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2552, allocations: 8.031 kB / 0.9499 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003517/0.2587, allocations: 0.79 MB / 0.9507 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.2608, allocations: 1.403 MB / 0.952 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.252e-05/0.2609, allocations: 193.5 kB / 0.9522 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003458/0.2612, allocations: 252.3 kB / 0.9525 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006023/0.2673, allocations: 4.58 MB / 0.9569 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.84e-05/0.2674, allocations: 11.88 kB / 0.9569 GB, free: 6.215 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.2676, allocations: 112 kB / 0.957 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/0.2678, allocations: 176.3 kB / 0.9572 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005104/0.2729, allocations: 3.835 MB / 0.961 GB, free: 2.086 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02184/0.2948, allocations: 21.44 MB / 0.9819 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.2973, allocations: 2.244 MB / 0.9841 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009954/0.2983, allocations: 0.7179 MB / 0.9848 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.2984, allocations: 15.92 kB / 0.9848 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.2984, allocations: 50.5 kB / 0.9848 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=62): time 2.574e-06/0.2984, allocations: 0 / 0.9848 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68): time 0.005426/0.3039, allocations: 4.189 MB / 0.9889 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.304, allocations: 247.3 kB / 0.9892 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.3055, allocations: 1.116 MB / 0.9903 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.3055, allocations: 37.7 kB / 0.9903 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007391/0.3063, allocations: 1.187 MB / 0.9915 GB, free: 472 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.3065, allocations: 248.6 kB / 0.9917 GB, free: 220 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.692e-05/0.3066, allocations: 28 kB / 0.9917 GB, free: 192 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.3068, allocations: 406.7 kB / 0.9921 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000962/0.3077, allocations: 0.7104 MB / 0.9928 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.3091, allocations: 1.399 MB / 0.9942 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.3115, allocations: 2.158 MB / 0.9963 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.3115, allocations: 11.94 kB / 0.9963 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003065/0.3146, allocations: 2.188 MB / 0.9984 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005582/0.3152, allocations: 0.7922 MB / 0.9992 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/0.3152, allocations: 24 kB / 0.9992 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.623e-05/0.3153, allocations: 36 kB / 0.9993 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.3167, allocations: 427.2 kB / 0.9997 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.504e-05/0.3168, allocations: 55.78 kB / 0.9997 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.318, allocations: 187.4 kB / 0.9999 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.3181, allocations: 83.98 kB / 1 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.3181, allocations: 8 kB / 1 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002429/0.3205, allocations: 1.852 MB / 1.002 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.3206, allocations: 24 kB / 1.002 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.3206, allocations: 32 kB / 1.002 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.3218, allocations: 395.2 kB / 1.002 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.796e-05/0.3218, allocations: 47.8 kB / 1.002 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008375/0.3227, allocations: 131.9 kB / 1.002 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.3228, allocations: 87.98 kB / 1.002 GB, free: 4.156 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001646/0.3244, allocations: 1.129 MB / 1.004 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.3247, allocations: 102.8 kB / 1.004 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.3263, allocations: 1.087 MB / 1.005 GB, free: 1.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.3263, allocations: 11.94 kB / 1.005 GB, free: 1.809 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.3263, allocations: 11.94 kB / 1.005 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3263, allocations: 7.984 kB / 1.005 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.3389, allocations: 10.18 MB / 1.015 GB, free: 7.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/0.339, allocations: 16 kB / 1.015 GB, free: 7.324 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006576/0.3396, allocations: 187.7 kB / 1.015 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.489e-05/0.3397, allocations: 23.94 kB / 1.015 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-05/0.3397, allocations: 36 kB / 1.015 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-05/0.3398, allocations: 31.86 kB / 1.015 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.518e-05/0.3398, allocations: 23.88 kB / 1.015 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.342, allocations: 2.166 MB / 1.017 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000559/0.3426, allocations: 339.5 kB / 1.017 GB, free: 4.293 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.3428, allocations: 31.98 kB / 1.017 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008773/0.3436, allocations: 95.86 kB / 1.018 GB, free: 4.168 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3438, allocations: 103.5 kB / 1.018 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.3438, allocations: 43.98 kB / 1.018 GB, free: 4.023 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001015/0.3449, allocations: 0.7581 MB / 1.018 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3449, allocations: 4 kB / 1.018 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002676/0.3476, allocations: 0.7266 MB / 1.019 GB, free: 2.523 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000227/0.3478, allocations: 154.9 kB / 1.019 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003622/0.3514, allocations: 2.478 MB / 1.022 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.728e-05/0.3515, allocations: 4 kB / 1.022 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007689/0.3522, allocations: 0.5742 MB / 1.022 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/0.3559, allocations: 244.2 kB / 1.023 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008478/0.3643, allocations: 5.932 MB / 1.028 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/0.3664, allocations: 2.063 MB / 1.03 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.3669, allocations: 107.4 kB / 1.03 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of SimCode: time 7.12e-07/0.3669, allocations: 0 / 1.03 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of Templates: time 0.3866/0.7536, allocations: 24.8 MB / 1.055 GB, free: 137.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)