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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.259/2.259, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001422/0.001421, allocations: 188.4 kB / 326.3 MB, free: 2.863 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.619/2.619, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.001362/0.001362, allocations: 98.12 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004593, allocations: 13.56 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2096, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01546/0.2251, allocations: 10.69 MB / 0.91 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01006/0.2352, allocations: 5.009 MB / 0.9148 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.2364, allocations: 35.88 kB / 0.9149 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.2377, allocations: 286.1 kB / 0.9152 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.2395, allocations: 0.5092 MB / 0.9157 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.2414, allocations: 466.8 kB / 0.9161 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003569/0.245, allocations: 2.801 MB / 0.9188 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007073/0.2521, allocations: 3.789 MB / 0.9225 GB, free: 41.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.2537, allocations: 0.7279 MB / 0.9232 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.2554, allocations: 1.005 MB / 0.9242 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002844/0.2557, allocations: 96 kB / 0.9243 GB, free: 40 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.2569, allocations: 299.7 kB / 0.9246 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008154/0.2577, allocations: 0.7171 MB / 0.9253 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004297/0.2582, allocations: 348.9 kB / 0.9256 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.2618, allocations: 3.016 MB / 0.9286 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.2618, allocations: 0 / 0.9286 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2618, allocations: 0 / 0.9286 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.836e-05/0.2619, allocations: 0 / 0.9286 GB, free: 35.61 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.004656/0.2666, allocations: 1.644 MB / 0.9302 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2666, allocations: 11.97 kB / 0.9302 GB, free: 33.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003602/0.2703, allocations: 478.5 kB / 0.9307 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/0.2734, allocations: 1.132 MB / 0.9318 GB, free: 32.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.2735, allocations: 111.5 kB / 0.9319 GB, free: 32.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004792/0.274, allocations: 156.1 kB / 0.932 GB, free: 32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006476/0.2805, allocations: 2.743 MB / 0.9347 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-05/0.2806, allocations: 0 / 0.9347 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002636/0.2809, allocations: 64 kB / 0.9348 GB, free: 29.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005336/0.2814, allocations: 174.9 kB / 0.9349 GB, free: 28.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005799/0.2873, allocations: 2.284 MB / 0.9372 GB, free: 26.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01634/0.3036, allocations: 10.54 MB / 0.9474 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.3052, allocations: 0.5803 MB / 0.948 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008961/0.3061, allocations: 384.6 kB / 0.9484 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.3063, allocations: 93.08 kB / 0.9485 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.3064, allocations: 42.44 kB / 0.9485 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 2.815e-06/0.3064, allocations: 4 kB / 0.9485 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.03564/0.342, allocations: 6.266 MB / 0.9546 GB, free: 7.777 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3421, allocations: 89.55 kB / 0.9547 GB, free: 7.672 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.3437, allocations: 0.8945 MB / 0.9556 GB, free: 6.766 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.3438, allocations: 33.7 kB / 0.9556 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000483/0.3443, allocations: 0.7616 MB / 0.9564 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.3446, allocations: 181.4 kB / 0.9565 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3447, allocations: 20 kB / 0.9566 GB, free: 5.754 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3448, allocations: 386.8 kB / 0.9569 GB, free: 5.367 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.3464, allocations: 0.6382 MB / 0.9575 GB, free: 4.727 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.3482, allocations: 1.011 MB / 0.9585 GB, free: 3.551 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.35, allocations: 0.8139 MB / 0.9593 GB, free: 2.734 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.35, allocations: 4 kB / 0.9593 GB, free: 2.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0156/0.3656, allocations: 3.213 MB / 0.9625 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004013/0.3661, allocations: 433.5 kB / 0.9629 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/0.3661, allocations: 12 kB / 0.9629 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01522/0.3813, allocations: 1.856 MB / 0.9647 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.383, allocations: 223.6 kB / 0.9649 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02489/0.408, allocations: 10.22 MB / 0.9749 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.4102, allocations: 179.6 kB / 0.9751 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.4104, allocations: 40 kB / 0.9751 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.4104, allocations: 4 kB / 0.9751 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01341/0.4238, allocations: 2.618 MB / 0.9777 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.515e-05/0.4239, allocations: 12 kB / 0.9777 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/0.434, allocations: 1.207 MB / 0.9789 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/0.436, allocations: 251.5 kB / 0.9791 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/0.4494, allocations: 5.539 MB / 0.9845 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.4515, allocations: 155.8 kB / 0.9847 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.4517, allocations: 40 kB / 0.9847 GB, free: 7.738 MB / 0.6355 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.001956/0.4537, allocations: 0.8323 MB / 0.9855 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004402/0.4541, allocations: 83.08 kB / 0.9856 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/0.4692, allocations: 2.684 MB / 0.9882 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.711e-05/0.4692, allocations: 11.92 kB / 0.9882 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4692, allocations: 0 / 0.9882 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008827/0.4701, allocations: 284.1 kB / 0.9885 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/0.4704, allocations: 8 kB / 0.9885 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/0.4721, allocations: 127.8 kB / 0.9886 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003367/0.4724, allocations: 56.28 kB / 0.9887 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01042/0.4829, allocations: 2.247 MB / 0.9909 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005058/0.488, allocations: 1.879 MB / 0.9927 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001493/0.4895, allocations: 0.5616 MB / 0.9933 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001439/0.491, allocations: 0.6356 MB / 0.9939 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of Backend: time 9.72e-07/0.491, allocations: 0 / 0.9939 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.009315/0.5003, allocations: 2.958 MB / 0.9968 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of SimCode: time 0.009014/0.5094, allocations: 3.838 MB / 1.001 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of Templates: time 0.07035/0.5798, allocations: 26.77 MB / 1.027 GB, free: 12.66 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)