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 3.126/3.126, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001505/0.001505, allocations: 186.2 kB / 370.8 MB, free: 10.86 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.447/2.447, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001181/0.001181, allocations: 92.17 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005118/0.0005119, allocations: 16.95 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.22, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01511/0.2352, allocations: 10.35 MB / 0.9883 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009957/0.2452, allocations: 4.944 MB / 0.9931 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.2464, allocations: 31.88 kB / 0.9932 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.2479, allocations: 330.2 kB / 0.9935 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.2503, allocations: 0.5257 MB / 0.994 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.2529, allocations: 0.5587 MB / 0.9945 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002477/0.2554, allocations: 1.138 MB / 0.9957 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006653/0.2621, allocations: 3.62 MB / 0.9992 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.2634, allocations: 0.6035 MB / 0.9998 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.2647, allocations: 0.6657 MB / 1 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003232/0.2651, allocations: 96 kB / 1.001 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.2664, allocations: 299.7 kB / 1.001 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000847/0.2673, allocations: 0.6704 MB / 1.001 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004634/0.2677, allocations: 345 kB / 1.002 GB, free: 4.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00382/0.2716, allocations: 3.016 MB / 1.005 GB, free: 1.066 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2716, allocations: 0 / 1.005 GB, free: 1.066 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.467e-06/0.2716, allocations: 0 / 1.005 GB, free: 1.066 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001018/0.2718, allocations: 0 / 1.005 GB, free: 1.066 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.005189/0.277, allocations: 1.628 MB / 1.006 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.277, allocations: 12.02 kB / 1.006 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00424/0.2813, allocations: 0.4976 MB / 1.007 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/0.285, allocations: 1.123 MB / 1.008 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.2852, allocations: 115.1 kB / 1.008 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006359/0.2859, allocations: 152 kB / 1.008 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007937/0.2938, allocations: 2.733 MB / 1.011 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-05/0.2939, allocations: 3.938 kB / 1.011 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002998/0.2943, allocations: 67.98 kB / 1.011 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006192/0.2949, allocations: 170.9 kB / 1.011 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007151/0.302, allocations: 2.288 MB / 1.013 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02073/0.3228, allocations: 10.53 MB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.3246, allocations: 0.5802 MB / 1.024 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.3248, allocations: 89.09 kB / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.3249, allocations: 38.56 kB / 1.024 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 2.815e-06/0.3249, allocations: 0 / 1.024 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.03796/0.3628, allocations: 6.287 MB / 1.03 GB, free: 5.602 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.319e-05/0.363, allocations: 89.48 kB / 1.031 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.3648, allocations: 0.8945 MB / 1.031 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.365, allocations: 37.7 kB / 1.031 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007387/0.3658, allocations: 0.7538 MB / 1.032 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.3661, allocations: 185.4 kB / 1.032 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3662, allocations: 16 kB / 1.032 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002245/0.3664, allocations: 390.8 kB / 1.033 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/0.3682, allocations: 0.646 MB / 1.033 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.3704, allocations: 1.011 MB / 1.034 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.3725, allocations: 0.8102 MB / 1.035 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.3725, allocations: 7.938 kB / 1.035 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01654/0.3891, allocations: 3.221 MB / 1.038 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001932/0.391, allocations: 4.529 MB / 1.043 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/0.3911, allocations: 12 kB / 1.043 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01486/0.406, allocations: 1.86 MB / 1.045 GB, free: 6.531 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.4076, allocations: 215.7 kB / 1.045 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02468/0.4323, allocations: 10.51 MB / 1.055 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.4346, allocations: 175.6 kB / 1.055 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.4348, allocations: 52.02 kB / 1.055 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.4348, allocations: 4 kB / 1.055 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01307/0.4479, allocations: 2.625 MB / 1.058 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-05/0.448, allocations: 15.94 kB / 1.058 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009923/0.4579, allocations: 1.2 MB / 1.059 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.4598, allocations: 259.6 kB / 1.059 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/0.4741, allocations: 5.696 MB / 1.065 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/0.4761, allocations: 147.7 kB / 1.065 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/0.4763, allocations: 40 kB / 1.065 GB, free: 0.793 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.689/1.165, allocations: 0.8432 MB / 1.066 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/1.166, allocations: 77.03 kB / 1.066 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01896/1.185, allocations: 2.692 MB / 1.068 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.599e-05/1.185, allocations: 8.375 kB / 1.068 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/1.185, allocations: 1.156 kB / 1.068 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-05/1.185, allocations: 3.359 kB / 1.068 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02733/1.212, allocations: 4.523 MB / 1.073 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/1.212, allocations: 1.875 kB / 1.073 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/1.213, allocations: 105.9 kB / 1.073 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01868/1.232, allocations: 1.707 MB / 1.075 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/1.232, allocations: 16.28 kB / 1.075 GB, free: 81.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02711/1.26, allocations: 10.05 MB / 1.085 GB, free: 74.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/1.26, allocations: 8.719 kB / 1.085 GB, free: 74.35 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/1.275, allocations: 2.744 MB / 1.087 GB, free: 73.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009145/1.276, allocations: 289.6 kB / 1.087 GB, free: 73.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/1.276, allocations: 9.453 kB / 1.087 GB, free: 73.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/1.277, allocations: 133 kB / 1.088 GB, free: 73.31 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004132/1.278, allocations: 51.25 kB / 1.088 GB, free: 73.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.413e-05/1.278, allocations: 17.73 kB / 1.088 GB, free: 73.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001491/1.28, allocations: 0.6346 MB / 1.088 GB, free: 73.03 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.72e-07/1.28, allocations: 0.9062 kB / 1.088 GB, free: 73.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003476/1.283, allocations: 0.5859 MB / 1.089 GB, free: 72.99 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.0003948/1.283, allocations: 131 kB / 1.089 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01033/1.294, allocations: 3.253 MB / 1.092 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.294, allocations: 0 / 1.092 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003454/1.297, allocations: 1.288 MB / 1.093 GB, free: 70.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/1.3, allocations: 219.3 kB / 1.094 GB, free: 70.65 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008736/1.308, allocations: 3.535 MB / 1.097 GB, free: 68.81 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002607/1.311, allocations: 1.648 MB / 1.099 GB, free: 67.89 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003765/1.315, allocations: 488 kB / 1.099 GB, free: 67.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005525/1.316, allocations: 61.09 kB / 1.099 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of SimCode: time 1.723e-06/1.316, allocations: 0 / 1.099 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of Templates: time 0.0668/1.382, allocations: 23.36 MB / 1.122 GB, free: 57.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)