Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 104.8 kB / 16.36 MB, free: 6.309 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.001029/0.001029, allocations: 187.4 kB / 17.3 MB, free: 5.871 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.518/1.518, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.891/1.891, allocations: 292.3 MB / 0.5496 GB, free: 17.69 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.00143/0.00143, allocations: 71.03 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2389, allocations: 114.5 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.4387/0.6777, allocations: 5.138 MB / 0.7898 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004832/0.6826, allocations: 3.793 MB / 0.7935 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.683, allocations: 16 kB / 0.7935 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.6847, allocations: 0.5704 MB / 0.7941 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.686, allocations: 478 kB / 0.7945 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007301/0.6868, allocations: 270.5 kB / 0.7948 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009895/0.6878, allocations: 0.6934 MB / 0.7955 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006534/0.6884, allocations: 0.5336 MB / 0.796 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.6888, allocations: 359.2 kB / 0.7963 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.6892, allocations: 304.3 kB / 0.7966 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.934e-05/0.6893, allocations: 44.94 kB / 0.7967 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005095/0.6898, allocations: 294.6 kB / 0.797 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.69, allocations: 173.6 kB / 0.7971 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.6902, allocations: 248.7 kB / 0.7974 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008879/0.6911, allocations: 0.8301 MB / 0.7982 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6911, allocations: 0 / 0.7982 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6911, allocations: 0.8438 kB / 0.7982 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.6911, allocations: 0 / 0.7982 GB, free: 44.18 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001522/0.6927, allocations: 0.8078 MB / 0.799 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.6927, allocations: 12.53 kB / 0.799 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003294/0.696, allocations: 0.6717 MB / 0.7996 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008359/0.6969, allocations: 476 kB / 0.8001 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.6969, allocations: 24.84 kB / 0.8001 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/0.697, allocations: 28.06 kB / 0.8001 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.6989, allocations: 0.8321 MB / 0.8009 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.6989, allocations: 2.016 kB / 0.8009 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.435e-05/0.699, allocations: 16.02 kB / 0.801 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/0.6992, allocations: 61.72 kB / 0.801 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.7014, allocations: 0.9207 MB / 0.8019 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004177/0.7056, allocations: 2.841 MB / 0.8047 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.7075, allocations: 0.5452 MB / 0.8052 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009152/0.7085, allocations: 300.7 kB / 0.8055 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.7086, allocations: 90.84 kB / 0.8056 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.7086, allocations: 37.58 kB / 0.8056 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.044e-06/0.7086, allocations: 0 / 0.8056 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36): time 0.01516/0.7238, allocations: 3.78 MB / 0.8093 GB, free: 39.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.7239, allocations: 54.81 kB / 0.8094 GB, free: 39.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006471/0.7245, allocations: 427.9 kB / 0.8098 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-05/0.7246, allocations: 32.39 kB / 0.8098 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.7248, allocations: 244.5 kB / 0.8101 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.725, allocations: 120 kB / 0.8102 GB, free: 39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.7252, allocations: 87.36 kB / 0.8103 GB, free: 38.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.7253, allocations: 350.8 kB / 0.8106 GB, free: 38.63 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.7264, allocations: 421.5 kB / 0.811 GB, free: 38.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.7275, allocations: 497.5 kB / 0.8115 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.7297, allocations: 0.9027 MB / 0.8123 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7297, allocations: 0 / 0.8123 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006209/0.7359, allocations: 1.809 MB / 0.8141 GB, free: 37.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.736, allocations: 10.48 kB / 0.8141 GB, free: 37.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.736, allocations: 2.438 kB / 0.8141 GB, free: 37.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004528/0.7405, allocations: 0.9716 MB / 0.8151 GB, free: 37.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007109/0.7413, allocations: 124.5 kB / 0.8152 GB, free: 37.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.7528, allocations: 6.641 MB / 0.8217 GB, free: 33.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.7539, allocations: 106.3 kB / 0.8218 GB, free: 33.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/0.754, allocations: 23.47 kB / 0.8218 GB, free: 33.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001436/0.7554, allocations: 0.6042 MB / 0.8224 GB, free: 32.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001107/0.7565, allocations: 484.5 kB / 0.8229 GB, free: 32.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002123/0.7587, allocations: 0.875 MB / 0.8237 GB, free: 32.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.89e-06/0.7587, allocations: 3.5 kB / 0.8237 GB, free: 32.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.005451/0.7641, allocations: 1.595 MB / 0.8253 GB, free: 32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.7642, allocations: 15.25 kB / 0.8253 GB, free: 31.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7642, allocations: 2.172 kB / 0.8253 GB, free: 31.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/0.7674, allocations: 0.6935 MB / 0.826 GB, free: 31.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007452/0.7682, allocations: 135.7 kB / 0.8261 GB, free: 31.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008116/0.7763, allocations: 5.819 MB / 0.8318 GB, free: 27.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009994/0.7773, allocations: 99.98 kB / 0.8319 GB, free: 27.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-05/0.7774, allocations: 18.42 kB / 0.8319 GB, free: 27.91 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002541/0.7777, allocations: 214.4 kB / 0.8321 GB, free: 27.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.7778, allocations: 38.75 kB / 0.8321 GB, free: 27.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005424/0.7832, allocations: 1.716 MB / 0.8338 GB, free: 26.87 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.7833, allocations: 6.234 kB / 0.8338 GB, free: 26.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.7833, allocations: 0 / 0.8338 GB, free: 26.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.7836, allocations: 186.7 kB / 0.834 GB, free: 26.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.7837, allocations: 9.156 kB / 0.834 GB, free: 26.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006043/0.7843, allocations: 85.11 kB / 0.8341 GB, free: 26.65 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.7845, allocations: 43.33 kB / 0.8341 GB, free: 26.63 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004176/0.7887, allocations: 1.51 MB / 0.8356 GB, free: 25.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002643/0.7913, allocations: 1.379 MB / 0.8369 GB, free: 25 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008628/0.7922, allocations: 406 kB / 0.8373 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004599/0.7927, allocations: 325 kB / 0.8376 GB, free: 24.59 MB / 0.6544 GB Notification: Performance of Backend: time 7.72e-07/0.7927, allocations: 0 / 0.8376 GB, free: 24.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00689/0.7996, allocations: 2.308 MB / 0.8399 GB, free: 23.13 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002568/0.8022, allocations: 1.624 MB / 0.8415 GB, free: 21.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.02915/0.8314, allocations: 18.13 MB / 0.8592 GB, free: 13.11 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)