Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.651/2.651, allocations: 287.5 MB / 302.4 MB, free: 8.352 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.001417/0.001417, allocations: 181.5 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.313/2.313, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001498/0.001498, allocations: 91.69 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000658/0.0006584, allocations: 12.25 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2341, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01566/0.2498, allocations: 10.67 MB / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01146/0.2613, allocations: 5.017 MB / 0.9937 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.2627, allocations: 27.94 kB / 0.9937 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.2641, allocations: 294 kB / 0.994 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.2661, allocations: 0.5056 MB / 0.9945 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.2683, allocations: 467.8 kB / 0.9949 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003945/0.2722, allocations: 2.778 MB / 0.9976 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007348/0.2796, allocations: 3.635 MB / 1.001 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.2815, allocations: 0.7318 MB / 1.002 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/0.2837, allocations: 1.001 MB / 1.003 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000505/0.2843, allocations: 92 kB / 1.003 GB, free: 3.066 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.2859, allocations: 299.7 kB / 1.003 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.2871, allocations: 0.7248 MB / 1.004 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006252/0.2878, allocations: 345 kB / 1.004 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004596/0.2924, allocations: 3.016 MB / 1.007 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.2924, allocations: 0 / 1.007 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.376e-06/0.2924, allocations: 4 kB / 1.007 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001063/0.2926, allocations: 0 / 1.007 GB, free: 14.68 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.00604/0.2986, allocations: 1.636 MB / 1.009 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.2987, allocations: 16.02 kB / 1.009 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004153/0.3029, allocations: 481.5 kB / 1.009 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00362/0.3065, allocations: 1.131 MB / 1.01 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.3068, allocations: 115.1 kB / 1.011 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007228/0.3075, allocations: 155.9 kB / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008615/0.3161, allocations: 2.735 MB / 1.013 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-05/0.3163, allocations: 3.938 kB / 1.013 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003572/0.3166, allocations: 67.98 kB / 1.013 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000637/0.3173, allocations: 170.9 kB / 1.014 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007133/0.3244, allocations: 2.28 MB / 1.016 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02031/0.3448, allocations: 10.54 MB / 1.026 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.3466, allocations: 0.584 MB / 1.027 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.3476, allocations: 384.6 kB / 1.027 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.3478, allocations: 89.11 kB / 1.027 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.208e-05/0.3479, allocations: 38.56 kB / 1.027 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.246e-06/0.3479, allocations: 0 / 1.027 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.03821/0.3862, allocations: 6.276 MB / 1.033 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.3863, allocations: 85.55 kB / 1.033 GB, free: 2.738 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.3882, allocations: 0.8945 MB / 1.034 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001707/0.3884, allocations: 33.7 kB / 1.034 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000748/0.3892, allocations: 0.7538 MB / 1.035 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.3895, allocations: 189.4 kB / 1.035 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3896, allocations: 16 kB / 1.035 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002361/0.3899, allocations: 386.8 kB / 1.036 GB, free: 452 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/0.3917, allocations: 0.6383 MB / 1.036 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002317/0.3941, allocations: 1.011 MB / 1.037 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/0.3964, allocations: 0.8102 MB / 1.038 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.3965, allocations: 0 / 1.038 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01703/0.4135, allocations: 3.213 MB / 1.041 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004647/0.414, allocations: 435.4 kB / 1.042 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/0.414, allocations: 12 kB / 1.042 GB, free: 9.977 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01515/0.4292, allocations: 1.86 MB / 1.043 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.4309, allocations: 219.7 kB / 1.044 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02476/0.4557, allocations: 10.22 MB / 1.054 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.4579, allocations: 171.6 kB / 1.054 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/0.4582, allocations: 47.98 kB / 1.054 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4582, allocations: 5.719 kB / 1.054 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01353/0.4718, allocations: 2.614 MB / 1.056 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.295e-05/0.4719, allocations: 12.38 kB / 1.056 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/0.482, allocations: 1.203 MB / 1.058 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.4839, allocations: 255.5 kB / 1.058 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.497, allocations: 5.535 MB / 1.063 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.499, allocations: 151.7 kB / 1.063 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.4992, allocations: 47.98 kB / 1.063 GB, free: 2.816 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.001857/0.501, allocations: 0.8325 MB / 1.064 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/0.5013, allocations: 79.06 kB / 1.064 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6781/1.179, allocations: 2.688 MB / 1.067 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/1.18, allocations: 6.344 kB / 1.067 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/1.18, allocations: 1.312 kB / 1.067 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/1.18, allocations: 3.422 kB / 1.067 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02053/1.2, allocations: 4.621 MB / 1.071 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/1.2, allocations: 2.484 kB / 1.071 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008461/1.201, allocations: 103 kB / 1.071 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0141/1.215, allocations: 1.706 MB / 1.073 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001739/1.215, allocations: 11.97 kB / 1.073 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02134/1.237, allocations: 9.763 MB / 1.083 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/1.237, allocations: 6.281 kB / 1.083 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/1.252, allocations: 2.649 MB / 1.085 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009482/1.253, allocations: 280.5 kB / 1.086 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/1.253, allocations: 14.11 kB / 1.086 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/1.255, allocations: 130.3 kB / 1.086 GB, free: 74.49 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003709/1.255, allocations: 49.2 kB / 1.086 GB, free: 74.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.558e-05/1.255, allocations: 19.38 kB / 1.086 GB, free: 74.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001501/1.257, allocations: 0.6395 MB / 1.086 GB, free: 74.22 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.222e-06/1.257, allocations: 0 / 1.086 GB, free: 74.22 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003442/1.26, allocations: 0.5827 MB / 1.087 GB, free: 74.18 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.0004019/1.261, allocations: 130 kB / 1.087 GB, free: 74.08 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00945/1.27, allocations: 3.242 MB / 1.09 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.27, allocations: 0 / 1.09 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003702/1.274, allocations: 1.273 MB / 1.091 GB, free: 71.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/1.276, allocations: 224.1 kB / 1.092 GB, free: 71.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008378/1.284, allocations: 3.534 MB / 1.095 GB, free: 70.01 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/1.287, allocations: 1.628 MB / 1.097 GB, free: 69.09 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002353/1.289, allocations: 496.5 kB / 1.097 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/1.289, allocations: 52.66 kB / 1.097 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of SimCode: time 1.422e-06/1.289, allocations: 0 / 1.097 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of Templates: time 0.06594/1.355, allocations: 23.34 MB / 1.12 GB, free: 59.03 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)