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.001054/0.001059, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001156/0.001156, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.648/1.648, allocations: 292.5 MB / 0.5497 GB, free: 14.67 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.0004651/0.0004652, allocations: 11.16 kB / 0.6736 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2646, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.0176/0.2822, allocations: 14.86 MB / 0.8016 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.2937, allocations: 5.946 MB / 0.8074 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.2955, allocations: 43.81 kB / 0.8075 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.2971, allocations: 329.9 kB / 0.8078 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.3, allocations: 0.623 MB / 0.8084 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.3032, allocations: 0.8927 MB / 0.8093 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003265/0.3064, allocations: 1.719 MB / 0.811 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008432/0.3149, allocations: 5.243 MB / 0.8161 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.317, allocations: 0.9346 MB / 0.817 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002281/0.3193, allocations: 1.11 MB / 0.8181 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006302/0.32, allocations: 160 kB / 0.8182 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.3213, allocations: 387.5 kB / 0.8186 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001586/0.3229, allocations: 1.131 MB / 0.8197 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009471/0.3239, allocations: 0.5005 MB / 0.8202 GB, free: 10 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004809/0.3287, allocations: 4.621 MB / 0.8247 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3287, allocations: 0 / 0.8247 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3287, allocations: 0 / 0.8247 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.745e-05/0.3288, allocations: 0 / 0.8247 GB, free: 5.367 MB / 0.6387 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.004157/0.333, allocations: 2.227 MB / 0.8269 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.333, allocations: 8.031 kB / 0.8269 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003679/0.3367, allocations: 0.8281 MB / 0.8277 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.3396, allocations: 1.383 MB / 0.829 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.3398, allocations: 193.2 kB / 0.8292 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003805/0.3402, allocations: 248 kB / 0.8295 GB, free: 392 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00677/0.3469, allocations: 4.545 MB / 0.8339 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.414e-05/0.347, allocations: 11.84 kB / 0.8339 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000268/0.3473, allocations: 112 kB / 0.834 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002055/0.3475, allocations: 180.2 kB / 0.8342 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006134/0.3536, allocations: 3.816 MB / 0.8379 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0235/0.3772, allocations: 21.43 MB / 0.8588 GB, free: 196 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.3797, allocations: 2.258 MB / 0.861 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.3797, allocations: 15.98 kB / 0.8611 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3798, allocations: 54.3 kB / 0.8611 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=62): time 2.475e-06/0.3798, allocations: 0 / 0.8611 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68): time 0.005383/0.3852, allocations: 4.21 MB / 0.8652 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.3853, allocations: 247.3 kB / 0.8655 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.3868, allocations: 1.1 MB / 0.8665 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/0.3869, allocations: 41.7 kB / 0.8666 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007579/0.3876, allocations: 1.183 MB / 0.8677 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.3879, allocations: 260.5 kB / 0.868 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.3879, allocations: 32 kB / 0.868 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3881, allocations: 410.7 kB / 0.8684 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009363/0.3891, allocations: 0.7065 MB / 0.8691 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.3905, allocations: 1.399 MB / 0.8705 GB, free: 3.488 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.3917, allocations: 0.9828 MB / 0.8714 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.3917, allocations: 8 kB / 0.8714 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003259/0.395, allocations: 2.184 MB / 0.8736 GB, free: 316 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.003771/0.3988, allocations: 9.394 MB / 0.8827 GB, free: 6.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.113e-05/0.3988, allocations: 28 kB / 0.8828 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.359e-05/0.3989, allocations: 36 kB / 0.8828 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.4004, allocations: 431.2 kB / 0.8832 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.166e-05/0.4005, allocations: 47.8 kB / 0.8833 GB, free: 5.645 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.4017, allocations: 191.3 kB / 0.8834 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.4018, allocations: 87.92 kB / 0.8835 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.4018, allocations: 8 kB / 0.8835 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002515/0.4044, allocations: 1.852 MB / 0.8853 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.4044, allocations: 24 kB / 0.8854 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/0.4044, allocations: 43.98 kB / 0.8854 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.4056, allocations: 383.3 kB / 0.8858 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.856e-05/0.4057, allocations: 55.75 kB / 0.8858 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008933/0.4066, allocations: 131.8 kB / 0.8859 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.4067, allocations: 83.98 kB / 0.886 GB, free: 2.805 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001783/0.4085, allocations: 1.133 MB / 0.8871 GB, free: 1.66 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.4088, allocations: 102.8 kB / 0.8872 GB, free: 1.559 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.4104, allocations: 1.112 MB / 0.8883 GB, free: 448 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.4104, allocations: 8 kB / 0.8883 GB, free: 440 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.4105, allocations: 15.94 kB / 0.8883 GB, free: 424 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.4105, allocations: 4 kB / 0.8883 GB, free: 420 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.4236, allocations: 10.27 MB / 0.8984 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.4237, allocations: 12 kB / 0.8984 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/0.4243, allocations: 191.6 kB / 0.8986 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.278e-05/0.4244, allocations: 24.38 kB / 0.8986 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.439e-05/0.4244, allocations: 36 kB / 0.8986 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.318e-05/0.4245, allocations: 27.92 kB / 0.8986 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-05/0.4245, allocations: 23.88 kB / 0.8987 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.4271, allocations: 3.004 MB / 0.9016 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006543/0.4278, allocations: 339.5 kB / 0.9019 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.4279, allocations: 35.98 kB / 0.902 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009453/0.4289, allocations: 99.86 kB / 0.9021 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.429, allocations: 95.61 kB / 0.9021 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.4291, allocations: 40 kB / 0.9022 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001155/0.4303, allocations: 0.7619 MB / 0.9029 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4303, allocations: 0 / 0.9029 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002984/0.4333, allocations: 0.7266 MB / 0.9036 GB, free: 15.82 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 (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.0002327/0.4335, allocations: 154.9 kB / 0.9038 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003745/0.4373, allocations: 2.492 MB / 0.9062 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.4373, allocations: 4.375 kB / 0.9062 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007642/0.438, allocations: 0.5807 MB / 0.9068 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.4394, allocations: 226.5 kB / 0.907 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008627/0.448, allocations: 5.305 MB / 0.9122 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/0.4505, allocations: 2.042 MB / 0.9142 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002275/0.4528, allocations: 0.8521 MB / 0.915 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.4532, allocations: 83.42 kB / 0.9151 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of SimCode: time 1.543e-06/0.4532, allocations: 0 / 0.9151 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of Templates: time 0.4274/0.8806, allocations: 13.45 MB / 0.9282 GB, free: 122 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: