Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.67/1.67, allocations: 287.4 MB / 303.2 MB, free: 8.277 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.001106/0.001106, allocations: 192.8 kB / 371.8 MB, free: 10.82 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.642/1.642, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0008566/0.0008565, allocations: 103.7 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006106/0.0006108, allocations: 11.98 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.33, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006973/0.337, allocations: 4.482 MB / 0.9837 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006268/0.3433, allocations: 3.108 MB / 0.9867 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/0.3438, allocations: 11.94 kB / 0.9867 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008152/0.3447, allocations: 155.1 kB / 0.9869 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.3461, allocations: 310.5 kB / 0.9872 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008928/0.347, allocations: 193.9 kB / 0.9873 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.3481, allocations: 0.7087 MB / 0.988 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.3497, allocations: 0.8139 MB / 0.9888 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000409/0.3501, allocations: 199.2 kB / 0.989 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.3506, allocations: 255 kB / 0.9893 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.678e-05/0.3507, allocations: 20 kB / 0.9893 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008595/0.3515, allocations: 239.7 kB / 0.9895 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.3518, allocations: 135.6 kB / 0.9896 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.3519, allocations: 109.5 kB / 0.9897 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.353, allocations: 0.713 MB / 0.9904 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.353, allocations: 0 / 0.9904 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.498e-06/0.353, allocations: 0 / 0.9904 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.353, allocations: 4 kB / 0.9904 GB, free: 16.7 MB / 0.6198 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.001845/0.3549, allocations: 0.7287 MB / 0.9912 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.355, allocations: 12.02 kB / 0.9912 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004379/0.3593, allocations: 0.6907 MB / 0.9918 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00093/0.3603, allocations: 0.4918 MB / 0.9923 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.3603, allocations: 21.03 kB / 0.9923 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.3605, allocations: 36.11 kB / 0.9924 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.3624, allocations: 0.8473 MB / 0.9932 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.3625, allocations: 3.938 kB / 0.9932 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.901e-05/0.3625, allocations: 12 kB / 0.9932 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003288/0.3629, allocations: 68.56 kB / 0.9933 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.3653, allocations: 0.939 MB / 0.9942 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/0.3698, allocations: 2.929 MB / 0.9971 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.3716, allocations: 0.5605 MB / 0.9976 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006684/0.3723, allocations: 312.6 kB / 0.9979 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.3724, allocations: 97.08 kB / 0.998 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3725, allocations: 34.56 kB / 0.998 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 3.216e-06/0.3725, allocations: 0 / 0.998 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.01171/0.3842, allocations: 3.648 MB / 1.002 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.3843, allocations: 89.09 kB / 1.002 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.3849, allocations: 412.4 kB / 1.002 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.3849, allocations: 29.7 kB / 1.002 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.3851, allocations: 231.8 kB / 1.002 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.3852, allocations: 114.4 kB / 1.002 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.3852, allocations: 4 kB / 1.002 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3854, allocations: 350.8 kB / 1.003 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008423/0.3862, allocations: 399.6 kB / 1.003 GB, free: 3.211 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009017/0.3871, allocations: 485.1 kB / 1.004 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.3888, allocations: 0.866 MB / 1.004 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3888, allocations: 4 kB / 1.004 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004988/0.3938, allocations: 1.72 MB / 1.006 GB, free: 68 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.394, allocations: 159.9 kB / 1.006 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.394, allocations: 0 / 1.006 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004466/0.3985, allocations: 0.9816 MB / 1.007 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.3992, allocations: 127.8 kB / 1.007 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009136/0.4084, allocations: 6.413 MB / 1.014 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009317/0.4094, allocations: 119.9 kB / 1.014 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-05/0.4095, allocations: 15.98 kB / 1.014 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.4095, allocations: 4 kB / 1.014 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005395/0.4149, allocations: 1.663 MB / 1.015 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.415, allocations: 3.938 kB / 1.015 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003838/0.4188, allocations: 0.7212 MB / 1.016 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008805/0.4197, allocations: 140 kB / 1.016 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007101/0.4269, allocations: 5.43 MB / 1.022 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000863/0.4278, allocations: 115.8 kB / 1.022 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.4279, allocations: 16 kB / 1.022 GB, free: 15.27 MB / 0.6511 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 (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005392/0.4284, allocations: 325 kB / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.4286, allocations: 35.53 kB / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005305/0.4339, allocations: 1.625 MB / 1.024 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.4339, allocations: 3.938 kB / 1.024 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4339, allocations: 0 / 1.024 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/0.4343, allocations: 184.6 kB / 1.024 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.4345, allocations: 7.984 kB / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006827/0.4352, allocations: 95.86 kB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.4353, allocations: 27.94 kB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003936/0.4393, allocations: 1.412 MB / 1.025 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002562/0.4419, allocations: 1.308 MB / 1.027 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007496/0.4426, allocations: 368.2 kB / 1.027 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004759/0.4431, allocations: 307.1 kB / 1.027 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of Backend: time 1.052e-06/0.4431, allocations: 4 kB / 1.027 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004873/0.448, allocations: 2.106 MB / 1.029 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of SimCode: time 0.002616/0.4507, allocations: 1.667 MB / 1.031 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of Templates: time 0.02633/0.477, allocations: 16.29 MB / 1.047 GB, free: 5.352 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)