Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.682/1.682, allocations: 292.3 MB / 308.1 MB, free: 4.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.001382/0.001382, allocations: 180.5 kB / 376.9 MB, free: 1.805 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.49/1.49, allocations: 205.1 MB / 0.6354 GB, free: 9.773 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.001269/0.001268, allocations: 101.5 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3182, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01453/0.3327, allocations: 11.78 MB / 0.9937 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.008921/0.3417, allocations: 5.346 MB / 0.9989 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.3429, allocations: 31.88 kB / 0.999 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002863/0.3458, allocations: 0.9846 MB / 0.9999 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.3476, allocations: 0.5759 MB / 1.001 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.3499, allocations: 0.8421 MB / 1.001 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.003894/0.3538, allocations: 3.624 MB / 1.005 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005421/0.3593, allocations: 3.784 MB / 1.009 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.3612, allocations: 0.9267 MB / 1.009 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.3638, allocations: 1.223 MB / 1.011 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0006141/0.3644, allocations: 152 kB / 1.011 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.366, allocations: 491.3 kB / 1.011 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.3674, allocations: 0.8185 MB / 1.012 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002026/0.3694, allocations: 0.8945 MB / 1.013 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004419/0.3738, allocations: 3.486 MB / 1.016 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.3739, allocations: 0 / 1.016 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3739, allocations: 0 / 1.016 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001486/0.374, allocations: 0 / 1.016 GB, free: 7.273 MB / 0.7448 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.005707/0.3798, allocations: 1.936 MB / 1.018 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3798, allocations: 12.03 kB / 1.018 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/0.3822, allocations: 454.5 kB / 1.019 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002632/0.3849, allocations: 1.089 MB / 1.02 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.529e-05/0.385, allocations: 115.4 kB / 1.02 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003842/0.3854, allocations: 156.1 kB / 1.02 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004984/0.3904, allocations: 2.735 MB / 1.023 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.087e-05/0.3905, allocations: 7.906 kB / 1.023 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.3907, allocations: 71.92 kB / 1.023 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002976/0.391, allocations: 147 kB / 1.023 GB, free: 416 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4995/0.8904, allocations: 2.27 MB / 1.025 GB, free: 98.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/0.9026, allocations: 10.42 MB / 1.035 GB, free: 92.63 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000915/0.9036, allocations: 0.5636 MB / 1.036 GB, free: 92.61 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006239/0.9042, allocations: 381.3 kB / 1.036 GB, free: 92.6 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.9044, allocations: 88.64 kB / 1.036 GB, free: 92.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.9044, allocations: 39.67 kB / 1.036 GB, free: 92.46 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=36): time 2.545e-06/0.9044, allocations: 0 / 1.036 GB, free: 92.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=52): time 0.02221/0.9266, allocations: 5.541 MB / 1.042 GB, free: 91.63 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.9267, allocations: 62.75 kB / 1.042 GB, free: 91.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.9283, allocations: 0.884 MB / 1.043 GB, free: 91.21 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.9284, allocations: 39.14 kB / 1.043 GB, free: 91.17 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/0.9289, allocations: 0.7524 MB / 1.043 GB, free: 90.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.9291, allocations: 185.8 kB / 1.044 GB, free: 90.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003561/0.9295, allocations: 193.6 kB / 1.044 GB, free: 90.36 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.9296, allocations: 386.9 kB / 1.044 GB, free: 90.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.9307, allocations: 0.6259 MB / 1.045 GB, free: 89.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.932, allocations: 0.9763 MB / 1.046 GB, free: 89.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002232/0.9342, allocations: 1.626 MB / 1.047 GB, free: 88.19 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.9342, allocations: 3.594 kB / 1.047 GB, free: 88.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008781/0.943, allocations: 3.066 MB / 1.05 GB, free: 87.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.9431, allocations: 14.03 kB / 1.05 GB, free: 87.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/0.9431, allocations: 12.97 kB / 1.05 GB, free: 87.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006822/0.9499, allocations: 1.65 MB / 1.052 GB, free: 87.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009147/0.9509, allocations: 212.3 kB / 1.052 GB, free: 87.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.9626, allocations: 9.842 MB / 1.062 GB, free: 80.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.9641, allocations: 155.2 kB / 1.062 GB, free: 80.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.446e-05/0.9642, allocations: 48.62 kB / 1.062 GB, free: 80.4 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001981/0.9662, allocations: 1.284 MB / 1.063 GB, free: 79.9 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001087/0.9673, allocations: 0.9556 MB / 1.064 GB, free: 79.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001946/0.9693, allocations: 1.562 MB / 1.066 GB, free: 78.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-05/0.9693, allocations: 5.875 kB / 1.066 GB, free: 78.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.006764/0.9761, allocations: 2.605 MB / 1.068 GB, free: 77.63 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.9761, allocations: 9.094 kB / 1.068 GB, free: 77.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/0.9762, allocations: 13.66 kB / 1.068 GB, free: 77.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004525/0.9807, allocations: 1.069 MB / 1.069 GB, free: 77.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009699/0.9817, allocations: 237.5 kB / 1.07 GB, free: 77.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006395/0.9881, allocations: 5.343 MB / 1.075 GB, free: 73.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.9895, allocations: 141.8 kB / 1.075 GB, free: 73.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.9897, allocations: 43.28 kB / 1.075 GB, free: 73.89 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 4 * 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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004246/0.9901, allocations: 246.8 kB / 1.075 GB, free: 73.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.9904, allocations: 80.47 kB / 1.075 GB, free: 73.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007325/0.9978, allocations: 2.535 MB / 1.078 GB, free: 72.96 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.9978, allocations: 6.531 kB / 1.078 GB, free: 72.96 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.9978, allocations: 4 kB / 1.078 GB, free: 72.96 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.9978, allocations: 0 / 1.078 GB, free: 72.96 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/1.008, allocations: 4.45 MB / 1.082 GB, free: 71.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/1.008, allocations: 0.875 kB / 1.082 GB, free: 71.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/1.009, allocations: 100 kB / 1.082 GB, free: 71.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005773/1.015, allocations: 1.494 MB / 1.084 GB, free: 71.12 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.004e-05/1.015, allocations: 15.28 kB / 1.084 GB, free: 71.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/1.025, allocations: 9.376 MB / 1.093 GB, free: 64.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.025, allocations: 4.438 kB / 1.093 GB, free: 64.38 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008239/1.033, allocations: 3.881 MB / 1.097 GB, free: 62.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006261/1.034, allocations: 258 kB / 1.097 GB, free: 62.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/1.034, allocations: 22.94 kB / 1.097 GB, free: 62.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008967/1.035, allocations: 114 kB / 1.097 GB, free: 62.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/1.035, allocations: 47.09 kB / 1.097 GB, free: 62.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.383e-05/1.035, allocations: 16.62 kB / 1.097 GB, free: 62.46 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009757/1.036, allocations: 0.6268 MB / 1.098 GB, free: 62.21 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.036, allocations: 0 / 1.098 GB, free: 62.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003007/1.039, allocations: 0.5865 MB / 1.098 GB, free: 62.17 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 4 * 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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003158/1.04, allocations: 130.3 kB / 1.098 GB, free: 62.06 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005029/1.045, allocations: 3.063 MB / 1.101 GB, free: 60.56 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.045, allocations: 256 / 1.101 GB, free: 60.56 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/1.046, allocations: 1.181 MB / 1.102 GB, free: 59.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/1.048, allocations: 231.5 kB / 1.103 GB, free: 59.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006544/1.055, allocations: 4.037 MB / 1.107 GB, free: 57.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001738/1.056, allocations: 1.641 MB / 1.108 GB, free: 56.58 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001386/1.058, allocations: 495.8 kB / 1.109 GB, free: 56.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/1.058, allocations: 59.75 kB / 1.109 GB, free: 56.54 MB / 0.7448 GB Notification: Performance of SimCode: time 1.483e-06/1.058, allocations: 0 / 1.109 GB, free: 56.54 MB / 0.7448 GB Notification: Performance of Templates: time 0.04484/1.103, allocations: 23.86 MB / 1.132 GB, free: 54.03 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)