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.0007892/0.0007892, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005713/0.005714, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.532/1.532, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.729/1.729, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0006177/0.0006177, allocations: 15 kB / 0.6743 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2919, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01995/0.312, allocations: 16.04 MB / 0.8036 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01229/0.3243, allocations: 6.26 MB / 0.8097 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001977/0.3263, allocations: 47.81 kB / 0.8097 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.3276, allocations: 309.7 kB / 0.81 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.3304, allocations: 0.7979 MB / 0.8108 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003523/0.3339, allocations: 1.068 MB / 0.8118 GB, free: 3 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006835/0.3408, allocations: 5.785 MB / 0.8175 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01118/0.352, allocations: 6.136 MB / 0.8235 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002976/0.355, allocations: 1.129 MB / 0.8246 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00419/0.3592, allocations: 1.721 MB / 0.8263 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.3603, allocations: 160 kB / 0.8264 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.3626, allocations: 0.7448 MB / 0.8271 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002186/0.3648, allocations: 1.216 MB / 0.8283 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001839/0.3667, allocations: 1.242 MB / 0.8295 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005612/0.3723, allocations: 5.288 MB / 0.8347 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3723, allocations: 0 / 0.8347 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3723, allocations: 0 / 0.8347 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001401/0.3725, allocations: 0 / 0.8347 GB, free: 11.44 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.00548/0.378, allocations: 2.211 MB / 0.8369 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.378, allocations: 12.03 kB / 0.8369 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004094/0.3821, allocations: 0.7939 MB / 0.8376 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/0.3852, allocations: 1.403 MB / 0.839 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.3854, allocations: 197.5 kB / 0.8392 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005683/0.386, allocations: 252.4 kB / 0.8394 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008603/0.3946, allocations: 4.588 MB / 0.8439 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.949e-05/0.3947, allocations: 11.84 kB / 0.8439 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/0.395, allocations: 104 kB / 0.844 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002613/0.3953, allocations: 180.3 kB / 0.8442 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007126/0.4024, allocations: 3.827 MB / 0.8479 GB, free: 13.56 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0259/0.4284, allocations: 21.44 MB / 0.8689 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.4312, allocations: 2.26 MB / 0.8711 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.4322, allocations: 0.7094 MB / 0.8718 GB, free: 2.934 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-05/0.4323, allocations: 11.98 kB / 0.8718 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.4324, allocations: 50.36 kB / 0.8718 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=62): time 3.446e-06/0.4324, allocations: 4 kB / 0.8718 GB, free: 2.859 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68): time 0.006958/0.4393, allocations: 4.191 MB / 0.8759 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/0.4396, allocations: 240.5 kB / 0.8762 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.4412, allocations: 1.112 MB / 0.8773 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.567e-05/0.4413, allocations: 41.7 kB / 0.8773 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008198/0.4421, allocations: 1.191 MB / 0.8785 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.4423, allocations: 252.6 kB / 0.8787 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.4425, allocations: 121.7 kB / 0.8788 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4427, allocations: 345.9 kB / 0.8791 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.4438, allocations: 0.7026 MB / 0.8798 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.4454, allocations: 1.403 MB / 0.8812 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002711/0.4481, allocations: 2.166 MB / 0.8833 GB, free: 6.27 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/0.4481, allocations: 4 kB / 0.8833 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003362/0.4515, allocations: 2.176 MB / 0.8854 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006601/0.4521, allocations: 0.7936 MB / 0.8862 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.191e-05/0.4522, allocations: 24 kB / 0.8862 GB, free: 2.934 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.857e-05/0.4522, allocations: 39.94 kB / 0.8863 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.4537, allocations: 427.2 kB / 0.8867 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.828e-05/0.4538, allocations: 59.72 kB / 0.8867 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.4551, allocations: 195.3 kB / 0.8869 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.4553, allocations: 83.98 kB / 0.887 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.4553, allocations: 4 kB / 0.887 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002804/0.4581, allocations: 1.855 MB / 0.8888 GB, free: 292 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.762e-05/0.4581, allocations: 24 kB / 0.8888 GB, free: 268 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.213e-05/0.4582, allocations: 36 kB / 0.8889 GB, free: 232 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.4593, allocations: 391.4 kB / 0.8893 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-05/0.4594, allocations: 51.78 kB / 0.8893 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009975/0.4604, allocations: 127.5 kB / 0.8894 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.4605, allocations: 83.98 kB / 0.8895 GB, free: 15.59 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.002329/0.4628, allocations: 1.132 MB / 0.8906 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005529/0.4634, allocations: 102.8 kB / 0.8907 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.4652, allocations: 1.1 MB / 0.8918 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.4653, allocations: 11.94 kB / 0.8918 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.4653, allocations: 4 kB / 0.8918 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.4653, allocations: 7.984 kB / 0.8918 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.4795, allocations: 10.17 MB / 0.9017 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.4796, allocations: 13 kB / 0.9018 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006672/0.4803, allocations: 191.7 kB / 0.9019 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-05/0.4803, allocations: 27.94 kB / 0.902 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.656e-05/0.4804, allocations: 32.38 kB / 0.902 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-05/0.4804, allocations: 31.86 kB / 0.902 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.037e-05/0.4804, allocations: 27.88 kB / 0.9021 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.4828, allocations: 2.158 MB / 0.9042 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005486/0.4834, allocations: 339.5 kB / 0.9045 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.4835, allocations: 31.98 kB / 0.9045 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009385/0.4845, allocations: 95.86 kB / 0.9046 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.4846, allocations: 103.5 kB / 0.9047 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.4847, allocations: 40 kB / 0.9047 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001112/0.4858, allocations: 0.7659 MB / 0.9055 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.192e-06/0.4858, allocations: 4 kB / 0.9055 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003159/0.489, allocations: 0.7226 MB / 0.9062 GB, free: 13.96 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.0003118/0.4893, allocations: 146.9 kB / 0.9063 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003776/0.4931, allocations: 2.48 MB / 0.9088 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/0.4931, allocations: 8.188 kB / 0.9088 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007549/0.4939, allocations: 0.5686 MB / 0.9093 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/0.4978, allocations: 249.7 kB / 0.9096 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008597/0.5064, allocations: 5.506 MB / 0.9149 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00225/0.5087, allocations: 2.007 MB / 0.9169 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002381/0.5111, allocations: 0.856 MB / 0.9177 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.5115, allocations: 87.41 kB / 0.9178 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of SimCode: time 1.753e-06/0.5115, allocations: 0 / 0.9178 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of Templates: time 0.5815/1.093, allocations: 13.66 MB / 0.9312 GB, free: 122.5 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: