Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008837/0.0008837, allocations: 99.78 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.000878/0.0008781, allocations: 177.3 kB / 15.94 MB, free: 228 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.546/1.546, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.619/1.619, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005055/0.0005056, allocations: 12.94 kB / 0.6736 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2437, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0208/0.2646, allocations: 18.17 MB / 0.8049 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.2766, allocations: 7.14 MB / 0.8118 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.2784, allocations: 47.81 kB / 0.8119 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.28, allocations: 397.5 kB / 0.8123 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00317/0.2832, allocations: 0.7671 MB / 0.813 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003746/0.287, allocations: 1.14 MB / 0.8141 GB, free: 228 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004237/0.2913, allocations: 2.012 MB / 0.8161 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.3017, allocations: 6.536 MB / 0.8225 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.304, allocations: 1.044 MB / 0.8235 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/0.3068, allocations: 1.207 MB / 0.8247 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007339/0.3075, allocations: 176 kB / 0.8248 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.3089, allocations: 415.5 kB / 0.8252 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001949/0.3108, allocations: 1.232 MB / 0.8264 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.3119, allocations: 0.555 MB / 0.827 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005246/0.3172, allocations: 5.108 MB / 0.832 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3172, allocations: 0 / 0.832 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3172, allocations: 0 / 0.832 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002206/0.3174, allocations: 4 kB / 0.832 GB, free: 13.84 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.005927/0.3234, allocations: 2.47 MB / 0.8344 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3234, allocations: 12.03 kB / 0.8344 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003901/0.3273, allocations: 0.7263 MB / 0.8351 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/0.3311, allocations: 1.519 MB / 0.8366 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.3313, allocations: 213.8 kB / 0.8368 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008688/0.3322, allocations: 284 kB / 0.8371 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009745/0.3419, allocations: 5.015 MB / 0.842 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/0.3421, allocations: 7.938 kB / 0.842 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006066/0.3427, allocations: 124 kB / 0.8421 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002759/0.343, allocations: 208.6 kB / 0.8423 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007431/0.3504, allocations: 4.169 MB / 0.8464 GB, free: 14.78 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03057/0.381, allocations: 23.01 MB / 0.8688 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/0.3838, allocations: 1.712 MB / 0.8705 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.384, allocations: 105.7 kB / 0.8706 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.384, allocations: 51.09 kB / 0.8706 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 2.364e-06/0.384, allocations: 0 / 0.8706 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87): time 0.006199/0.3902, allocations: 3.997 MB / 0.8746 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/0.3903, allocations: 141.2 kB / 0.8747 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.3914, allocations: 0.8525 MB / 0.8755 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.3915, allocations: 41.7 kB / 0.8756 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000762/0.3923, allocations: 1.158 MB / 0.8767 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/0.3926, allocations: 311.6 kB / 0.877 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.3927, allocations: 24 kB / 0.877 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.3929, allocations: 406.7 kB / 0.8774 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.394, allocations: 0.7911 MB / 0.8782 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.3955, allocations: 1.283 MB / 0.8794 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.3968, allocations: 1.002 MB / 0.8804 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.3968, allocations: 4 kB / 0.8804 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002915/0.3997, allocations: 2.167 MB / 0.8825 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.002118/0.4018, allocations: 5.487 MB / 0.8879 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.4018, allocations: 19.94 kB / 0.8879 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.159e-05/0.4019, allocations: 24 kB / 0.8879 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.4034, allocations: 415.3 kB / 0.8883 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.95e-05/0.4034, allocations: 31.86 kB / 0.8883 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.4045, allocations: 195.3 kB / 0.8885 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-05/0.4046, allocations: 59.98 kB / 0.8886 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.4046, allocations: 4 kB / 0.8886 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002399/0.407, allocations: 1.764 MB / 0.8903 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.4071, allocations: 12 kB / 0.8903 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.4071, allocations: 24.91 kB / 0.8904 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.4083, allocations: 363.4 kB / 0.8907 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.4083, allocations: 23.94 kB / 0.8907 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008501/0.4092, allocations: 151.4 kB / 0.8909 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/0.4093, allocations: 59.98 kB / 0.8909 GB, free: 14.16 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.001835/0.4111, allocations: 1.176 MB / 0.8921 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/0.4114, allocations: 102.8 kB / 0.8922 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/0.414, allocations: 1.85 MB / 0.894 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4141, allocations: 12.08 kB / 0.894 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4141, allocations: 3.938 kB / 0.894 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.4141, allocations: 7.984 kB / 0.894 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.4272, allocations: 9.584 MB / 0.9034 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/0.4272, allocations: 16 kB / 0.9034 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.4284, allocations: 316.3 kB / 0.9037 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.988e-05/0.4284, allocations: 16 kB / 0.9037 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-05/0.4285, allocations: 32 kB / 0.9037 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.93e-05/0.4285, allocations: 19.94 kB / 0.9037 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.264e-05/0.4286, allocations: 15.94 kB / 0.9038 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/0.4317, allocations: 2.98 MB / 0.9067 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008175/0.4326, allocations: 383.5 kB / 0.907 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.4327, allocations: 31.95 kB / 0.9071 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008669/0.4336, allocations: 139.8 kB / 0.9072 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.4338, allocations: 95.42 kB / 0.9073 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-05/0.4339, allocations: 36 kB / 0.9073 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008004/0.4347, allocations: 0.5849 MB / 0.9079 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4347, allocations: 0 / 0.9079 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002458/0.4372, allocations: 0.75 MB / 0.9086 GB, free: 11.27 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * 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.0002919/0.4375, allocations: 149.6 kB / 0.9088 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004146/0.4416, allocations: 2.819 MB / 0.9115 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4416, allocations: 0.5625 kB / 0.9115 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.4429, allocations: 0.9196 MB / 0.9124 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.4442, allocations: 248 kB / 0.9127 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007888/0.4521, allocations: 6.015 MB / 0.9185 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4127/0.8648, allocations: 2.168 MB / 0.9206 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00214/0.867, allocations: 0.7326 MB / 0.9214 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/0.8674, allocations: 88.03 kB / 0.9214 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.282e-06/0.8674, allocations: 2.984 kB / 0.9215 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.03016/0.8976, allocations: 16.11 MB / 0.9372 GB, free: 124 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) Environment - environmentSimulation: