Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.767/1.767, allocations: 288.4 MB / 304.3 MB, free: 8.055 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009769/0.0009769, allocations: 180.5 kB / 372.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.4 MB / 0.6316 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000815/0.0008148, allocations: 98.3 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004034, allocations: 20.5 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2485, allocations: 115.3 MB / 0.9807 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01047/0.259, allocations: 10.68 MB / 0.9912 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009117/0.2682, allocations: 5.029 MB / 0.9961 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.2696, allocations: 31.88 kB / 0.9961 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.2713, allocations: 298 kB / 0.9964 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002187/0.2735, allocations: 0.529 MB / 0.9969 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.2756, allocations: 497.1 kB / 0.9974 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003168/0.2788, allocations: 2.801 MB / 1 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005208/0.284, allocations: 4.06 MB / 1.004 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.2854, allocations: 0.7357 MB / 1.005 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.2871, allocations: 1.005 MB / 1.006 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000457/0.2876, allocations: 96 kB / 1.006 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.2894, allocations: 471.2 kB / 1.006 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.2908, allocations: 0.7287 MB / 1.007 GB, free: 252 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.2927, allocations: 0.7679 MB / 1.008 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003769/0.2964, allocations: 3.023 MB / 1.011 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2965, allocations: 0 / 1.011 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.657e-06/0.2965, allocations: 0 / 1.011 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.49e-05/0.2965, allocations: 7.938 kB / 1.011 GB, free: 12.43 MB / 0.6355 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.003117/0.2997, allocations: 1.617 MB / 1.012 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.2997, allocations: 11.97 kB / 1.012 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/0.3019, allocations: 482.5 kB / 1.013 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.3037, allocations: 1.148 MB / 1.014 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.898e-05/0.3038, allocations: 111.4 kB / 1.014 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002805/0.3041, allocations: 160.1 kB / 1.014 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/0.3083, allocations: 2.731 MB / 1.017 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.3084, allocations: 3.938 kB / 1.017 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.3086, allocations: 67.98 kB / 1.017 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003378/0.3089, allocations: 174.9 kB / 1.017 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003537/0.3125, allocations: 2.288 MB / 1.019 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.3247, allocations: 10.54 MB / 1.03 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009832/0.3258, allocations: 0.5803 MB / 1.03 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005894/0.3264, allocations: 384.6 kB / 1.031 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.3265, allocations: 85.09 kB / 1.031 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.3265, allocations: 42.5 kB / 1.031 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.366e-06/0.3265, allocations: 4 kB / 1.031 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.02036/0.3469, allocations: 6.274 MB / 1.037 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.347, allocations: 85.55 kB / 1.037 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.3483, allocations: 0.8983 MB / 1.038 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.308e-05/0.3484, allocations: 33.7 kB / 1.038 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004867/0.3489, allocations: 0.7499 MB / 1.039 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.3491, allocations: 185.5 kB / 1.039 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.3491, allocations: 16 kB / 1.039 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3493, allocations: 390.8 kB / 1.039 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.3503, allocations: 0.6343 MB / 1.04 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.3516, allocations: 1.011 MB / 1.041 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002246/0.3539, allocations: 1.658 MB / 1.042 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/0.3539, allocations: 4 kB / 1.042 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008955/0.3628, allocations: 3.217 MB / 1.045 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003618/0.3632, allocations: 436.9 kB / 1.046 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.3633, allocations: 12 kB / 1.046 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007973/0.3712, allocations: 1.856 MB / 1.048 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009859/0.3723, allocations: 223.6 kB / 1.048 GB, free: 4.633 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/0.387, allocations: 10.22 MB / 1.058 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.3888, allocations: 175.7 kB / 1.058 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.389, allocations: 43.94 kB / 1.058 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.389, allocations: 5.719 kB / 1.058 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007921/0.397, allocations: 2.618 MB / 1.061 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.132e-05/0.3971, allocations: 12 kB / 1.061 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005287/0.4024, allocations: 1.207 MB / 1.062 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.4034, allocations: 243.6 kB / 1.062 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5249/0.9284, allocations: 5.547 MB / 1.067 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.93, allocations: 151 kB / 1.068 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.9302, allocations: 42.78 kB / 1.068 GB, free: 81.93 MB / 0.6823 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.00193/0.9322, allocations: 0.8491 MB / 1.069 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.9324, allocations: 81.41 kB / 1.069 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008997/0.9414, allocations: 2.679 MB / 1.071 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.834e-05/0.9415, allocations: 4.078 kB / 1.071 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.9415, allocations: 3.391 kB / 1.071 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007273/0.9422, allocations: 285.7 kB / 1.071 GB, free: 81.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.9424, allocations: 14.56 kB / 1.072 GB, free: 81.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008574/0.9432, allocations: 128.1 kB / 1.072 GB, free: 81.56 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/0.9435, allocations: 51.73 kB / 1.072 GB, free: 81.56 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006697/0.9503, allocations: 2.253 MB / 1.074 GB, free: 81.01 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003359/0.9537, allocations: 1.873 MB / 1.076 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009974/0.9547, allocations: 0.5642 MB / 1.076 GB, free: 80.08 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001119/0.9558, allocations: 0.6352 MB / 1.077 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of Backend: time 7.01e-07/0.9558, allocations: 0 / 1.077 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006347/0.9622, allocations: 3.028 MB / 1.08 GB, free: 78.44 MB / 0.6823 GB Notification: Performance of SimCode: time 0.005757/0.968, allocations: 3.827 MB / 1.084 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of Templates: time 0.04866/1.017, allocations: 26.91 MB / 1.11 GB, free: 66.88 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)