Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001895/0.001894, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.738/1.738, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 71.8 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2294, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01971/0.2491, allocations: 16.72 MB / 0.7997 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.2594, allocations: 6.31 MB / 0.8059 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.2612, allocations: 51.81 kB / 0.8059 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003586/0.2649, allocations: 1.294 MB / 0.8072 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.2674, allocations: 0.8441 MB / 0.808 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004745/0.2722, allocations: 1.541 MB / 0.8095 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005502/0.2777, allocations: 3.84 MB / 0.8132 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006329/0.2841, allocations: 5.011 MB / 0.8181 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003282/0.2874, allocations: 1.644 MB / 0.8197 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003544/0.291, allocations: 1.983 MB / 0.8217 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008129/0.2918, allocations: 380 kB / 0.822 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.2937, allocations: 0.8192 MB / 0.8228 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.2952, allocations: 1.493 MB / 0.8243 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002039/0.2972, allocations: 1.541 MB / 0.8258 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005421/0.3027, allocations: 5.508 MB / 0.8312 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3027, allocations: 0 / 0.8312 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3027, allocations: 0 / 0.8312 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000183/0.3029, allocations: 4 kB / 0.8312 GB, free: 12.3 MB / 0.6544 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.006149/0.3091, allocations: 2.726 MB / 0.8339 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3091, allocations: 8.031 kB / 0.8339 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003899/0.313, allocations: 0.7705 MB / 0.8346 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/0.3157, allocations: 1.403 MB / 0.836 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.3158, allocations: 193.5 kB / 0.8362 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004307/0.3163, allocations: 256.3 kB / 0.8364 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007451/0.3237, allocations: 4.584 MB / 0.8409 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-05/0.3238, allocations: 15.88 kB / 0.8409 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000289/0.3241, allocations: 108 kB / 0.841 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002185/0.3243, allocations: 176.3 kB / 0.8412 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006693/0.331, allocations: 3.829 MB / 0.8449 GB, free: 13.93 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02836/0.3594, allocations: 21.42 MB / 0.8658 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.3623, allocations: 2.261 MB / 0.868 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.3634, allocations: 0.7281 MB / 0.8688 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.3635, allocations: 16 kB / 0.8688 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.3635, allocations: 46.48 kB / 0.8688 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=62): time 2.475e-06/0.3635, allocations: 0 / 0.8688 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68): time 0.006461/0.37, allocations: 4.191 MB / 0.8729 GB, free: 15 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.3702, allocations: 239.3 kB / 0.8731 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.3719, allocations: 1.112 MB / 0.8742 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-05/0.372, allocations: 37.7 kB / 0.8743 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007621/0.3727, allocations: 1.188 MB / 0.8754 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.373, allocations: 248.6 kB / 0.8757 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004505/0.3734, allocations: 335.1 kB / 0.876 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3736, allocations: 345.9 kB / 0.8763 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.3746, allocations: 0.7113 MB / 0.877 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.3762, allocations: 1.403 MB / 0.8784 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002515/0.3787, allocations: 2.165 MB / 0.8805 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.3788, allocations: 4 kB / 0.8805 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003348/0.3821, allocations: 2.18 MB / 0.8826 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.3821, allocations: 19.94 kB / 0.8826 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-05/0.3822, allocations: 23.98 kB / 0.8827 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.443e-05/0.3822, allocations: 36 kB / 0.8827 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.3837, allocations: 435.2 kB / 0.8831 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.053e-05/0.3837, allocations: 48.36 kB / 0.8832 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.3849, allocations: 199.3 kB / 0.8833 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.385, allocations: 79.98 kB / 0.8834 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002381/0.3874, allocations: 1.55 MB / 0.8849 GB, free: 1.891 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001275/0.3887, allocations: 1.325 MB / 0.8862 GB, free: 224 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0021/0.3908, allocations: 1.976 MB / 0.8882 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.967e-05/0.3909, allocations: 8 kB / 0.8882 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.002748/0.3936, allocations: 1.979 MB / 0.8901 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.3936, allocations: 19.5 kB / 0.8901 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.3937, allocations: 31.94 kB / 0.8901 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.161e-05/0.3937, allocations: 43.94 kB / 0.8902 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.3949, allocations: 391.3 kB / 0.8906 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.393e-05/0.3949, allocations: 47.8 kB / 0.8906 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.396, allocations: 151.5 kB / 0.8907 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.3961, allocations: 83.98 kB / 0.8908 GB, free: 11.14 MB / 0.7169 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.0004051/0.3965, allocations: 287.9 kB / 0.8911 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.3968, allocations: 110.6 kB / 0.8912 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.3985, allocations: 1.091 MB / 0.8923 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3985, allocations: 12 kB / 0.8923 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.3985, allocations: 0 / 0.8923 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.3985, allocations: 7.984 kB / 0.8923 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.4125, allocations: 10.18 MB / 0.9022 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/0.4126, allocations: 16 kB / 0.9022 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007133/0.4133, allocations: 191.7 kB / 0.9024 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-05/0.4134, allocations: 24.06 kB / 0.9025 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.656e-05/0.4135, allocations: 31.94 kB / 0.9025 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.622e-05/0.4135, allocations: 31.75 kB / 0.9025 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.098e-05/0.4135, allocations: 27.88 kB / 0.9025 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.4161, allocations: 2.158 MB / 0.9046 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/0.4167, allocations: 319.5 kB / 0.905 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.4168, allocations: 39.98 kB / 0.905 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000948/0.4178, allocations: 87.88 kB / 0.9051 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.418, allocations: 103.5 kB / 0.9052 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.418, allocations: 40 kB / 0.9052 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001108/0.4191, allocations: 0.7658 MB / 0.906 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4191, allocations: 0 / 0.906 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003188/0.4223, allocations: 0.7266 MB / 0.9067 GB, free: 10.4 MB / 0.7325 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.0003168/0.4227, allocations: 158.7 kB / 0.9068 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003626/0.4263, allocations: 2.519 MB / 0.9093 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.4263, allocations: 0 / 0.9093 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000721/0.427, allocations: 0.5684 MB / 0.9098 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.429, allocations: 266.8 kB / 0.9101 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006374/0.4354, allocations: 4.46 MB / 0.9144 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/0.4372, allocations: 1.999 MB / 0.9164 GB, free: 168 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.4541/0.8913, allocations: 0.8514 MB / 0.9172 GB, free: 126 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/0.8917, allocations: 85.69 kB / 0.9173 GB, free: 126 MB / 0.7325 GB Notification: Performance of SimCode: time 8.71e-07/0.8917, allocations: 0.8438 kB / 0.9173 GB, free: 126 MB / 0.7325 GB Notification: Performance of Templates: time 0.03063/0.9224, allocations: 14.35 MB / 0.9313 GB, free: 124.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)