Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.001818/0.001818, allocations: 200.3 kB / 376.9 MB, free: 1.812 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.938/1.938, allocations: 205 MB / 0.6353 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 96.84 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 63.89 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2864, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.007878/0.2943, allocations: 5.092 MB / 0.9872 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004822/0.2991, allocations: 3.352 MB / 0.9905 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.2995, allocations: 11.94 kB / 0.9905 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.301, allocations: 494.2 kB / 0.991 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008796/0.3019, allocations: 346.5 kB / 0.9913 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.3025, allocations: 243.5 kB / 0.9915 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0009903/0.3035, allocations: 0.8648 MB / 0.9924 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007005/0.3042, allocations: 0.4973 MB / 0.9928 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.3045, allocations: 247.1 kB / 0.9931 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003923/0.3049, allocations: 291 kB / 0.9934 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.305, allocations: 24 kB / 0.9934 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005918/0.3056, allocations: 327.4 kB / 0.9937 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.3058, allocations: 155.5 kB / 0.9938 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.306, allocations: 214.9 kB / 0.994 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0008391/0.3068, allocations: 0.8179 MB / 0.9948 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3069, allocations: 0 / 0.9948 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3069, allocations: 4 kB / 0.9949 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3069, allocations: 0 / 0.9949 GB, free: 13.4 MB / 0.7292 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.001418/0.3083, allocations: 0.791 MB / 0.9956 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3083, allocations: 8.031 kB / 0.9956 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002802/0.3112, allocations: 0.6633 MB / 0.9963 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007888/0.312, allocations: 467.7 kB / 0.9967 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.312, allocations: 24.97 kB / 0.9967 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.3121, allocations: 32.12 kB / 0.9968 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.3137, allocations: 0.8201 MB / 0.9976 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3137, allocations: 7.938 kB / 0.9976 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.3138, allocations: 12 kB / 0.9976 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001787/0.314, allocations: 56.59 kB / 0.9977 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.3161, allocations: 0.9155 MB / 0.9985 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00411/0.3202, allocations: 2.847 MB / 1.001 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.3219, allocations: 0.541 MB / 1.002 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007573/0.3227, allocations: 304.6 kB / 1.002 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.3228, allocations: 85.11 kB / 1.002 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.3228, allocations: 34.5 kB / 1.002 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.3228, allocations: 4 kB / 1.002 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.01237/0.3352, allocations: 3.403 MB / 1.006 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.3353, allocations: 55.41 kB / 1.006 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004918/0.3358, allocations: 396.4 kB / 1.006 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/0.3359, allocations: 33.7 kB / 1.006 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.3361, allocations: 231.9 kB / 1.006 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.3362, allocations: 114.4 kB / 1.006 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.3363, allocations: 77.69 kB / 1.006 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3365, allocations: 346.8 kB / 1.007 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009619/0.3375, allocations: 380.5 kB / 1.007 GB, free: 336 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009954/0.3385, allocations: 464.1 kB / 1.008 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.3404, allocations: 0.8114 MB / 1.008 GB, free: 15 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3404, allocations: 0 / 1.008 GB, free: 15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005515/0.3459, allocations: 1.63 MB / 1.01 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.346, allocations: 12.06 kB / 1.01 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.346, allocations: 8 kB / 1.01 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004018/0.35, allocations: 0.8684 MB / 1.011 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.3507, allocations: 127.8 kB / 1.011 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008417/0.3591, allocations: 6.184 MB / 1.017 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008913/0.3601, allocations: 107.8 kB / 1.017 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.3601, allocations: 16 kB / 1.017 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001243/0.3614, allocations: 0.5584 MB / 1.018 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001049/0.3624, allocations: 441 kB / 1.018 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002066/0.3645, allocations: 0.7881 MB / 1.019 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/0.3645, allocations: 0 / 1.019 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.005208/0.3698, allocations: 1.618 MB / 1.02 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3698, allocations: 10.69 kB / 1.02 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3698, allocations: 4 kB / 1.02 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002794/0.3726, allocations: 0.6353 MB / 1.021 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.3733, allocations: 127.8 kB / 1.021 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4904/0.8637, allocations: 6.772 MB / 1.028 GB, free: 93.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008069/0.8645, allocations: 98.64 kB / 1.028 GB, free: 93.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.8646, allocations: 16.22 kB / 1.028 GB, free: 93.93 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.8648, allocations: 202.8 kB / 1.028 GB, free: 93.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.8649, allocations: 40.62 kB / 1.028 GB, free: 93.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004785/0.8696, allocations: 1.525 MB / 1.03 GB, free: 93.67 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.8697, allocations: 7.969 kB / 1.03 GB, free: 93.67 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8697, allocations: 0.5625 kB / 1.03 GB, free: 93.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.8697, allocations: 3.375 kB / 1.03 GB, free: 93.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005513/0.8752, allocations: 2.191 MB / 1.032 GB, free: 93.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.8753, allocations: 0.875 kB / 1.032 GB, free: 93.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.8757, allocations: 83.03 kB / 1.032 GB, free: 93.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00338/0.8791, allocations: 0.8105 MB / 1.033 GB, free: 93.29 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.8791, allocations: 12.28 kB / 1.033 GB, free: 93.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007119/0.8862, allocations: 6.028 MB / 1.039 GB, free: 89.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.8863, allocations: 2.422 kB / 1.039 GB, free: 89.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006537/0.8928, allocations: 2.585 MB / 1.041 GB, free: 88.76 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.8932, allocations: 173.9 kB / 1.041 GB, free: 88.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.8933, allocations: 13.17 kB / 1.041 GB, free: 88.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007026/0.894, allocations: 80.44 kB / 1.041 GB, free: 88.65 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.8943, allocations: 37.77 kB / 1.041 GB, free: 88.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/0.8944, allocations: 12.2 kB / 1.041 GB, free: 88.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005983/0.895, allocations: 297.8 kB / 1.042 GB, free: 88.56 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.31e-07/0.895, allocations: 0.8125 kB / 1.042 GB, free: 88.56 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001696/0.8967, allocations: 239.4 kB / 1.042 GB, free: 88.56 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002312/0.8969, allocations: 117.8 kB / 1.042 GB, free: 88.47 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005035/0.902, allocations: 2.186 MB / 1.044 GB, free: 87.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.902, allocations: 5.125 kB / 1.044 GB, free: 87.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.9036, allocations: 0.7947 MB / 1.045 GB, free: 87.33 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008072/0.9044, allocations: 117 kB / 1.045 GB, free: 87.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.9074, allocations: 1.556 MB / 1.047 GB, free: 86.67 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.9079, allocations: 0.9374 MB / 1.047 GB, free: 85.96 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006201/0.9086, allocations: 166.2 kB / 1.048 GB, free: 85.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.9087, allocations: 34.48 kB / 1.048 GB, free: 85.92 MB / 0.7448 GB Notification: Performance of SimCode: time 2.335e-06/0.9087, allocations: 0.6562 kB / 1.048 GB, free: 85.92 MB / 0.7448 GB Notification: Performance of Templates: time 0.01937/0.9281, allocations: 14.2 MB / 1.062 GB, free: 85.37 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)