Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.771/1.771, allocations: 288.4 MB / 303.4 MB, free: 8.043 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.001101/0.001101, allocations: 179.4 kB / 372 MB, free: 10.2 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.637/1.637, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0007743/0.0007744, allocations: 94.8 kB / 0.7441 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004547, allocations: 11.75 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.259, allocations: 115.3 MB / 0.9796 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01138/0.2705, allocations: 10.76 MB / 0.9901 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008057/0.2786, allocations: 5.236 MB / 0.9952 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.28, allocations: 31.88 kB / 0.9953 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.281, allocations: 294.1 kB / 0.9955 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.2826, allocations: 0.5211 MB / 0.996 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.2843, allocations: 0.4886 MB / 0.9965 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002707/0.2871, allocations: 2.907 MB / 0.9994 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004449/0.2915, allocations: 3.88 MB / 1.003 GB, free: 3.395 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.2928, allocations: 0.7668 MB / 1.004 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.294, allocations: 1.086 MB / 1.005 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.2942, allocations: 107.9 kB / 1.005 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009163/0.2951, allocations: 323.7 kB / 1.005 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005527/0.2957, allocations: 0.7327 MB / 1.006 GB, free: 388 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003116/0.296, allocations: 376.8 kB / 1.006 GB, free: 4 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00293/0.2989, allocations: 3.25 MB / 1.01 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.299, allocations: 0 / 1.01 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/0.299, allocations: 0 / 1.01 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.305e-05/0.299, allocations: 0 / 1.01 GB, free: 12.75 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003653/0.3027, allocations: 1.784 MB / 1.011 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3027, allocations: 12.02 kB / 1.011 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003148/0.3059, allocations: 0.747 MB / 1.012 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.3084, allocations: 1.227 MB / 1.013 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-05/0.3085, allocations: 123.2 kB / 1.013 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/0.3088, allocations: 156 kB / 1.014 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004998/0.3138, allocations: 2.94 MB / 1.016 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.361e-05/0.3138, allocations: 11.92 kB / 1.016 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.314, allocations: 63.98 kB / 1.017 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004251/0.3144, allocations: 203 kB / 1.017 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003935/0.3184, allocations: 2.503 MB / 1.019 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.331, allocations: 10.89 MB / 1.03 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.3322, allocations: 0.9214 MB / 1.031 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/0.3329, allocations: 0.5081 MB / 1.031 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.3331, allocations: 89.47 kB / 1.031 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3331, allocations: 42.94 kB / 1.031 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 2.465e-06/0.3331, allocations: 3.938 kB / 1.031 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.02742/0.3605, allocations: 8.983 MB / 1.04 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.463e-05/0.3607, allocations: 81.67 kB / 1.04 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.3624, allocations: 0.9454 MB / 1.041 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.3625, allocations: 37.7 kB / 1.041 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005928/0.3631, allocations: 0.7697 MB / 1.042 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/0.3634, allocations: 244.6 kB / 1.042 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.3635, allocations: 24 kB / 1.042 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.3637, allocations: 394.8 kB / 1.042 GB, free: 9.793 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.3649, allocations: 0.795 MB / 1.043 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.3665, allocations: 1.16 MB / 1.044 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.368, allocations: 0.9907 MB / 1.045 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.368, allocations: 4 kB / 1.045 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01016/0.3782, allocations: 3.791 MB / 1.049 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004003/0.3787, allocations: 425.2 kB / 1.049 GB, free: 2.305 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/0.3787, allocations: 8 kB / 1.049 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009121/0.3878, allocations: 2.165 MB / 1.052 GB, free: 128 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.3891, allocations: 223.6 kB / 1.052 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/0.4062, allocations: 10.25 MB / 1.062 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.4078, allocations: 195.6 kB / 1.062 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/0.4081, allocations: 48 kB / 1.062 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.4081, allocations: 4 kB / 1.062 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008111/0.4162, allocations: 3.072 MB / 1.065 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.241e-05/0.4163, allocations: 12 kB / 1.065 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005608/0.4219, allocations: 1.366 MB / 1.066 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.4232, allocations: 287.5 kB / 1.067 GB, free: 432 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5729/0.9962, allocations: 6.146 MB / 1.073 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.9977, allocations: 173.4 kB / 1.073 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.9978, allocations: 50.09 kB / 1.073 GB, free: 80.87 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001773/0.9996, allocations: 0.8992 MB / 1.074 GB, free: 80.44 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.9998, allocations: 89 kB / 1.074 GB, free: 80.44 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/1.01, allocations: 3.331 MB / 1.077 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/1.01, allocations: 7.219 kB / 1.077 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.01, allocations: 2.562 kB / 1.077 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/1.01, allocations: 4.188 kB / 1.077 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/1.024, allocations: 5.475 MB / 1.082 GB, free: 77.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1.024, allocations: 7.031 kB / 1.082 GB, free: 77.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005168/1.025, allocations: 110 kB / 1.083 GB, free: 77.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009362/1.034, allocations: 1.98 MB / 1.085 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/1.034, allocations: 13.22 kB / 1.085 GB, free: 77.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/1.049, allocations: 9.644 MB / 1.094 GB, free: 72.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.049, allocations: 5.344 kB / 1.094 GB, free: 72.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009011/1.058, allocations: 3.204 MB / 1.097 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009253/1.059, allocations: 328.9 kB / 1.097 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/1.059, allocations: 13.22 kB / 1.097 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009438/1.06, allocations: 151.6 kB / 1.098 GB, free: 71.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003742/1.06, allocations: 73.83 kB / 1.098 GB, free: 71.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.614e-05/1.061, allocations: 19.53 kB / 1.098 GB, free: 71.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001144/1.062, allocations: 0.6728 MB / 1.098 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.062, allocations: 1.188 kB / 1.098 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00274/1.064, allocations: 0.6776 MB / 1.099 GB, free: 70.75 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): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003985/1.065, allocations: 131.4 kB / 1.099 GB, free: 70.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008121/1.073, allocations: 3.919 MB / 1.103 GB, free: 68.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/1.073, allocations: 5.094 kB / 1.103 GB, free: 68.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002264/1.075, allocations: 1.305 MB / 1.104 GB, free: 67.65 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/1.077, allocations: 246.3 kB / 1.104 GB, free: 67.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006792/1.084, allocations: 4.081 MB / 1.108 GB, free: 65.03 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/1.085, allocations: 1.724 MB / 1.11 GB, free: 63.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001684/1.087, allocations: 0.517 MB / 1.111 GB, free: 63.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/1.087, allocations: 62.3 kB / 1.111 GB, free: 63.59 MB / 0.6823 GB Notification: Performance of SimCode: time 1.382e-06/1.087, allocations: 1.219 kB / 1.111 GB, free: 63.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.04637/1.134, allocations: 29.4 MB / 1.139 GB, free: 40.91 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)