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.387/1.387, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009729/0.000973, allocations: 176.3 kB / 326.5 MB, free: 2.703 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.514/1.514, allocations: 205 MB / 0.5766 GB, free: 21 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.0007549/0.0007549, allocations: 92.25 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 9.219 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.22, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01391/0.234, allocations: 16.28 MB / 0.9126 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009338/0.2434, allocations: 6.337 MB / 0.9188 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.245, allocations: 47.81 kB / 0.9189 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00266/0.2477, allocations: 1.189 MB / 0.92 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.2496, allocations: 0.794 MB / 0.9208 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003158/0.2528, allocations: 1.427 MB / 0.9222 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004167/0.2569, allocations: 5.782 MB / 0.9279 GB, free: 36.24 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006051/0.263, allocations: 5.573 MB / 0.9333 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.2652, allocations: 1.156 MB / 0.9344 GB, free: 29.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.2672, allocations: 1.713 MB / 0.9361 GB, free: 27.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002938/0.2675, allocations: 171.9 kB / 0.9363 GB, free: 27.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.2687, allocations: 0.7488 MB / 0.937 GB, free: 26.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0009119/0.2697, allocations: 1.224 MB / 0.9382 GB, free: 25.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.2707, allocations: 1.217 MB / 0.9394 GB, free: 24.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.2738, allocations: 4.652 MB / 0.9439 GB, free: 19.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2738, allocations: 0 / 0.9439 GB, free: 19.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.574e-06/0.2738, allocations: 0 / 0.9439 GB, free: 19.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.644e-05/0.2739, allocations: 0 / 0.9439 GB, free: 19.68 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.00372/0.2776, allocations: 2.201 MB / 0.9461 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.2777, allocations: 12.03 kB / 0.9461 GB, free: 17.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/0.281, allocations: 0.7939 MB / 0.9469 GB, free: 16.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.2831, allocations: 1.411 MB / 0.9482 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.421e-05/0.2832, allocations: 193.5 kB / 0.9484 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003264/0.2836, allocations: 260.3 kB / 0.9487 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006024/0.2896, allocations: 4.58 MB / 0.9531 GB, free: 9.938 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.049e-05/0.2897, allocations: 7.938 kB / 0.9531 GB, free: 9.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/0.2899, allocations: 108 kB / 0.9533 GB, free: 9.824 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.2901, allocations: 180.2 kB / 0.9534 GB, free: 9.648 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004925/0.295, allocations: 3.828 MB / 0.9572 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02102/0.3161, allocations: 21.44 MB / 0.9781 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/0.3186, allocations: 2.255 MB / 0.9803 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009392/0.3195, allocations: 0.7063 MB / 0.981 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/0.3196, allocations: 19.86 kB / 0.981 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.3196, allocations: 42.56 kB / 0.9811 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=62): time 4.458e-06/0.3197, allocations: 8 kB / 0.9811 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68): time 0.005662/0.3253, allocations: 4.191 MB / 0.9852 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.3255, allocations: 244.4 kB / 0.9854 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.3269, allocations: 1.112 MB / 0.9865 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.604e-05/0.327, allocations: 41.7 kB / 0.9865 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006531/0.3276, allocations: 1.191 MB / 0.9877 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.3278, allocations: 248.6 kB / 0.9879 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.328, allocations: 125.6 kB / 0.988 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3281, allocations: 341.9 kB / 0.9884 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009592/0.3291, allocations: 0.7026 MB / 0.989 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.3305, allocations: 1.403 MB / 0.9904 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.3328, allocations: 2.162 MB / 0.9925 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.3329, allocations: 4 kB / 0.9925 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003174/0.3361, allocations: 2.187 MB / 0.9947 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006232/0.3367, allocations: 0.7867 MB / 0.9954 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.3367, allocations: 24 kB / 0.9955 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.685e-05/0.3368, allocations: 39.98 kB / 0.9955 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.3382, allocations: 427.2 kB / 0.9959 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.125e-05/0.3383, allocations: 51.84 kB / 0.996 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.3395, allocations: 191.4 kB / 0.9961 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.3396, allocations: 83.97 kB / 0.9962 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.3396, allocations: 4 kB / 0.9962 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002426/0.342, allocations: 1.852 MB / 0.998 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.3421, allocations: 24 kB / 0.9981 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/0.3421, allocations: 36.12 kB / 0.9981 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.3432, allocations: 395.3 kB / 0.9985 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.412e-05/0.3433, allocations: 51.73 kB / 0.9985 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008945/0.3442, allocations: 131.5 kB / 0.9986 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.3443, allocations: 83.98 kB / 0.9987 GB, free: 7.84 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.00187/0.3461, allocations: 1.133 MB / 0.9998 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003349/0.3465, allocations: 102.8 kB / 0.9999 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.348, allocations: 1.091 MB / 1.001 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.348, allocations: 16.22 kB / 1.001 GB, free: 5.484 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.348, allocations: 0 / 1.001 GB, free: 5.484 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.348, allocations: 7.984 kB / 1.001 GB, free: 5.477 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.3607, allocations: 10.18 MB / 1.011 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.3608, allocations: 16 kB / 1.011 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006595/0.3614, allocations: 191.6 kB / 1.011 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.209e-05/0.3615, allocations: 28 kB / 1.011 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.3615, allocations: 32 kB / 1.011 GB, free: 10.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.336e-05/0.3616, allocations: 27.92 kB / 1.011 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.506e-05/0.3616, allocations: 31.81 kB / 1.011 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.3637, allocations: 2.158 MB / 1.013 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/0.3642, allocations: 323.5 kB / 1.014 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.3644, allocations: 39.98 kB / 1.014 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000899/0.3653, allocations: 91.86 kB / 1.014 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.3654, allocations: 99.56 kB / 1.014 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.3655, allocations: 36 kB / 1.014 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001002/0.3665, allocations: 0.7698 MB / 1.015 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3665, allocations: 0 / 1.015 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00281/0.3693, allocations: 0.7227 MB / 1.015 GB, free: 6.242 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.000221/0.3695, allocations: 158.8 kB / 1.016 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003937/0.3735, allocations: 2.48 MB / 1.018 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/0.3735, allocations: 8.25 kB / 1.018 GB, free: 3.598 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000793/0.3743, allocations: 0.5725 MB / 1.019 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003872/0.3782, allocations: 244.9 kB / 1.019 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008126/0.3863, allocations: 5.904 MB / 1.025 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00196/0.3883, allocations: 2.063 MB / 1.027 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.3888, allocations: 103.4 kB / 1.027 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of SimCode: time 8.12e-07/0.3888, allocations: 0 / 1.027 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of Templates: time 0.03775/0.4265, allocations: 24.81 MB / 1.051 GB, free: 1.699 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)