Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.266/2.266, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001333/0.001333, allocations: 172.1 kB / 326.3 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.522/2.522, allocations: 205.4 MB / 0.5772 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009656/0.0009654, allocations: 93.23 kB / 0.6817 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004634/0.0004636, allocations: 13.28 kB / 0.7957 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 106.3 MB / 0.8995 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01696/0.226, allocations: 10.79 MB / 0.91 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.237, allocations: 5.22 MB / 0.9151 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.2384, allocations: 31.88 kB / 0.9152 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.2402, allocations: 298.1 kB / 0.9155 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.2424, allocations: 0.5247 MB / 0.916 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.2447, allocations: 0.489 MB / 0.9164 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00402/0.2487, allocations: 2.938 MB / 0.9193 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007669/0.2565, allocations: 4.048 MB / 0.9233 GB, free: 41.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.2582, allocations: 0.7746 MB / 0.924 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.2607, allocations: 1.083 MB / 0.9251 GB, free: 39.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004515/0.2612, allocations: 100 kB / 0.9252 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.2627, allocations: 327.6 kB / 0.9255 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.2638, allocations: 0.7404 MB / 0.9262 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006036/0.2644, allocations: 360.9 kB / 0.9266 GB, free: 38.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005517/0.2699, allocations: 3.269 MB / 0.9297 GB, free: 34.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.27, allocations: 0 / 0.9297 GB, free: 34.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.577e-06/0.27, allocations: 0 / 0.9297 GB, free: 34.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001128/0.2702, allocations: 4 kB / 0.9298 GB, free: 34.85 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005927/0.2761, allocations: 1.765 MB / 0.9315 GB, free: 33.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.2762, allocations: 8.031 kB / 0.9315 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005127/0.2814, allocations: 0.748 MB / 0.9322 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003712/0.2851, allocations: 1.228 MB / 0.9334 GB, free: 31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.2853, allocations: 115.6 kB / 0.9335 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007286/0.2861, allocations: 164.1 kB / 0.9337 GB, free: 30.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007747/0.2938, allocations: 2.94 MB / 0.9365 GB, free: 27.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.04e-05/0.2939, allocations: 11.91 kB / 0.9366 GB, free: 27.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003182/0.2943, allocations: 68 kB / 0.9366 GB, free: 27.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006851/0.295, allocations: 203 kB / 0.9368 GB, free: 27.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006728/0.3017, allocations: 2.499 MB / 0.9393 GB, free: 24.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01759/0.3194, allocations: 10.9 MB / 0.9499 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.3213, allocations: 0.9289 MB / 0.9508 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.3224, allocations: 0.5012 MB / 0.9513 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.3226, allocations: 97.47 kB / 0.9514 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3227, allocations: 34.94 kB / 0.9514 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 4.218e-06/0.3227, allocations: 0 / 0.9514 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.07293/0.3956, allocations: 8.977 MB / 0.9602 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.3957, allocations: 89.61 kB / 0.9603 GB, free: 2.348 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.3974, allocations: 0.9376 MB / 0.9612 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.3976, allocations: 37.7 kB / 0.9612 GB, free: 1.355 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005055/0.3981, allocations: 0.7814 MB / 0.962 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/0.3984, allocations: 248.5 kB / 0.9622 GB, free: 320 kB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.3985, allocations: 20 kB / 0.9623 GB, free: 300 kB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.3987, allocations: 394.8 kB / 0.9626 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002165/0.4009, allocations: 0.8066 MB / 0.9634 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002505/0.4034, allocations: 1.152 MB / 0.9645 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002566/0.406, allocations: 0.9946 MB / 0.9655 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.4061, allocations: 0 / 0.9655 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01868/0.4248, allocations: 3.78 MB / 0.9692 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004219/0.4252, allocations: 424.8 kB / 0.9696 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/0.4253, allocations: 15.94 kB / 0.9696 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01632/0.4416, allocations: 2.16 MB / 0.9717 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.4435, allocations: 223.6 kB / 0.9719 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02888/0.4724, allocations: 10.24 MB / 0.9819 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/0.4749, allocations: 199.6 kB / 0.9821 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/0.4752, allocations: 44 kB / 0.9822 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4752, allocations: 9.969 kB / 0.9822 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01475/0.49, allocations: 3.072 MB / 0.9852 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-05/0.4901, allocations: 15.94 kB / 0.9852 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/0.5008, allocations: 1.357 MB / 0.9865 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/0.503, allocations: 291.5 kB / 0.9868 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01954/0.5226, allocations: 6.154 MB / 0.9928 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.5248, allocations: 175.6 kB / 0.993 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.5251, allocations: 47.98 kB / 0.993 GB, free: 28 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002185/0.5273, allocations: 0.8909 MB / 0.9939 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/0.5276, allocations: 90.91 kB / 0.994 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/0.5444, allocations: 3.331 MB / 0.9972 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.518e-05/0.5445, allocations: 3.984 kB / 0.9972 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.5445, allocations: 3.938 kB / 0.9973 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.5456, allocations: 332 kB / 0.9976 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.5459, allocations: 16 kB / 0.9976 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/0.5476, allocations: 155.8 kB / 0.9977 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004711/0.5481, allocations: 80.45 kB / 0.9978 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02046/0.5686, allocations: 3.051 MB / 1.001 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01013/0.5788, allocations: 2.481 MB / 1.003 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003115/0.582, allocations: 0.7896 MB / 1.004 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00239/0.5844, allocations: 0.6707 MB / 1.005 GB, free: 4.062 MB / 0.6511 GB Notification: Performance of Backend: time 2.184e-06/0.5845, allocations: 0 / 1.005 GB, free: 4.062 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.02031/0.6048, allocations: 3.489 MB / 1.008 GB, free: 0.5352 MB / 0.6511 GB Notification: Performance of SimCode: time 0.01474/0.6196, allocations: 4.284 MB / 1.012 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of Templates: time 0.1003/0.72, allocations: 32.57 MB / 1.044 GB, free: 11.78 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)