Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009371/0.0009372, allocations: 99.55 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.0009306/0.0009306, 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.456/1.456, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.673/1.673, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.000599/0.0005991, allocations: 15.25 kB / 0.6735 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2959, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01196/0.3079, allocations: 10.37 MB / 0.7972 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008221/0.3161, allocations: 4.948 MB / 0.8021 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009802/0.3172, allocations: 31.88 kB / 0.8021 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009401/0.3181, allocations: 326.2 kB / 0.8024 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.3196, allocations: 0.5218 MB / 0.8029 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.3213, allocations: 0.5651 MB / 0.8035 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001818/0.3232, allocations: 1.154 MB / 0.8046 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005079/0.3283, allocations: 3.616 MB / 0.8081 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.3294, allocations: 0.6035 MB / 0.8087 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009285/0.3304, allocations: 0.6696 MB / 0.8094 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.3305, allocations: 92 kB / 0.8095 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008796/0.3314, allocations: 311.7 kB / 0.8098 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000636/0.3321, allocations: 0.6627 MB / 0.8104 GB, free: 4 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.3324, allocations: 352.9 kB / 0.8108 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002469/0.3349, allocations: 3.016 MB / 0.8137 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3349, allocations: 0 / 0.8137 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3349, allocations: 0 / 0.8137 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.583e-05/0.335, allocations: 0 / 0.8137 GB, free: 0.625 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.002968/0.3379, allocations: 1.624 MB / 0.8153 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.338, allocations: 12.03 kB / 0.8153 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/0.3403, allocations: 0.4937 MB / 0.8158 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.3428, allocations: 1.131 MB / 0.8169 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.3429, allocations: 115.1 kB / 0.817 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002664/0.3432, allocations: 152 kB / 0.8171 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004515/0.3477, allocations: 2.739 MB / 0.8198 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.3478, allocations: 0 / 0.8198 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.348, allocations: 67.98 kB / 0.8199 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003311/0.3483, allocations: 170.9 kB / 0.82 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003451/0.3518, allocations: 2.288 MB / 0.8223 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.3642, allocations: 10.54 MB / 0.8326 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009574/0.3652, allocations: 0.5764 MB / 0.8331 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.3653, allocations: 89.09 kB / 0.8332 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.3654, allocations: 42.5 kB / 0.8333 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 3.706e-06/0.3654, allocations: 0 / 0.8333 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=52): time 0.02016/0.3856, allocations: 6.288 MB / 0.8394 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.3857, allocations: 89.48 kB / 0.8395 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.387, allocations: 0.8983 MB / 0.8404 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.3871, allocations: 33.7 kB / 0.8404 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005338/0.3877, allocations: 0.7539 MB / 0.8411 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.3878, allocations: 185.4 kB / 0.8413 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.3879, allocations: 20 kB / 0.8413 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3881, allocations: 386.8 kB / 0.8417 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009857/0.3891, allocations: 0.6421 MB / 0.8423 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.3903, allocations: 1.007 MB / 0.8433 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.3914, allocations: 0.814 MB / 0.8441 GB, free: 112 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.3914, allocations: 4 kB / 0.8441 GB, free: 108 kB / 0.6544 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008522/0.4, allocations: 3.229 MB / 0.8473 GB, free: 12.86 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.001766/0.4017, allocations: 4.529 MB / 0.8517 GB, free: 7.969 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.4018, allocations: 15.94 kB / 0.8517 GB, free: 7.953 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007631/0.4094, allocations: 1.856 MB / 0.8535 GB, free: 6.082 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.4105, allocations: 227.6 kB / 0.8537 GB, free: 5.859 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/0.4249, allocations: 10.53 MB / 0.864 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.4264, allocations: 171.7 kB / 0.8642 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/0.4265, allocations: 47.98 kB / 0.8642 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4265, allocations: 4 kB / 0.8642 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006804/0.4333, allocations: 2.629 MB / 0.8668 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/0.4334, allocations: 11.94 kB / 0.8668 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005012/0.4384, allocations: 1.203 MB / 0.868 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.4394, allocations: 251.6 kB / 0.8682 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00747/0.4469, allocations: 5.696 MB / 0.8738 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.4482, allocations: 155.7 kB / 0.8739 GB, free: 380 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.532e-05/0.4482, allocations: 43.98 kB / 0.874 GB, free: 336 kB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001475/0.4497, allocations: 0.8363 MB / 0.8748 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.4499, allocations: 79.06 kB / 0.8749 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007528/0.4574, allocations: 2.695 MB / 0.8775 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.4575, allocations: 8 kB / 0.8775 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4575, allocations: 0 / 0.8775 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.4575, allocations: 0 / 0.8775 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.4679, allocations: 4.547 MB / 0.8819 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.468, allocations: 0 / 0.8819 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.4684, allocations: 95.86 kB / 0.882 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006703/0.4751, allocations: 1.716 MB / 0.8837 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.397e-05/0.4752, allocations: 19.94 kB / 0.8837 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/0.4878, allocations: 10.04 MB / 0.8935 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.4878, allocations: 3.938 kB / 0.8935 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00785/0.4957, allocations: 2.755 MB / 0.8962 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008881/0.4966, allocations: 295.9 kB / 0.8965 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.4967, allocations: 8 kB / 0.8965 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008332/0.4976, allocations: 131.8 kB / 0.8966 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/0.4979, allocations: 59.81 kB / 0.8967 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.498, allocations: 16 kB / 0.8967 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001077/0.4991, allocations: 0.6356 MB / 0.8973 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4991, allocations: 0 / 0.8973 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002606/0.5017, allocations: 0.5977 MB / 0.8979 GB, free: 6.996 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003313/0.502, allocations: 123.2 kB / 0.898 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005323/0.5073, allocations: 3.246 MB / 0.9012 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.5074, allocations: 4 kB / 0.9012 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001869/0.5092, allocations: 1.285 MB / 0.9025 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009404/0.5102, allocations: 219.1 kB / 0.9027 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/0.5153, allocations: 3.558 MB / 0.9061 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.5167, allocations: 1.645 MB / 0.9077 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001194/0.5179, allocations: 490.3 kB / 0.9082 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.518, allocations: 63.42 kB / 0.9083 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of SimCode: time 1.243e-06/0.518, allocations: 0 / 0.9083 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of Templates: time 0.4694/0.9875, allocations: 23.43 MB / 0.9312 GB, free: 125.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: