Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.974/1.974, allocations: 292.3 MB / 308.1 MB, free: 4.238 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.001255/0.001255, allocations: 189.9 kB / 376.9 MB, free: 1.789 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.494/1.494, allocations: 205.1 MB / 0.6354 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.0009929/0.0009931, allocations: 97.84 kB / 0.748 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009787/0.0009787, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2367, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01423/0.251, allocations: 11.88 MB / 0.9938 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.008509/0.2595, allocations: 5.557 MB / 0.9993 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.2607, allocations: 39.88 kB / 0.9993 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002762/0.2634, allocations: 0.9689 MB / 1 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.2652, allocations: 0.6109 MB / 1.001 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.2674, allocations: 0.9005 MB / 1.002 GB, free: 6.32 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.003763/0.2712, allocations: 3.777 MB / 1.005 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005477/0.2767, allocations: 4.064 MB / 1.009 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001807/0.2785, allocations: 0.9969 MB / 1.01 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/0.2811, allocations: 1.336 MB / 1.012 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000682/0.2818, allocations: 160 kB / 1.012 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.2833, allocations: 0.5227 MB / 1.012 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.2846, allocations: 0.8419 MB / 1.013 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002307/0.287, allocations: 0.9607 MB / 1.014 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004621/0.2916, allocations: 3.767 MB / 1.018 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.2917, allocations: 0 / 1.018 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2917, allocations: 4 kB / 1.018 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001333/0.2918, allocations: 0 / 1.018 GB, free: 5.824 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005672/0.2975, allocations: 2.081 MB / 1.02 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.2975, allocations: 8.031 kB / 1.02 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/0.3004, allocations: 0.6972 MB / 1.02 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.3031, allocations: 1.189 MB / 1.022 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.636e-05/0.3032, allocations: 119.6 kB / 1.022 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003181/0.3035, allocations: 172 kB / 1.022 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4398/0.7433, allocations: 2.929 MB / 1.025 GB, free: 97.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.337e-05/0.7434, allocations: 6.156 kB / 1.025 GB, free: 97.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.7436, allocations: 63.28 kB / 1.025 GB, free: 97.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003635/0.744, allocations: 165.9 kB / 1.025 GB, free: 97.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003771/0.7477, allocations: 2.489 MB / 1.027 GB, free: 97.1 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.7596, allocations: 10.78 MB / 1.038 GB, free: 91.58 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.761, allocations: 0.9018 MB / 1.039 GB, free: 91.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008503/0.7619, allocations: 0.4932 MB / 1.039 GB, free: 91.08 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.762, allocations: 94.09 kB / 1.039 GB, free: 90.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.7621, allocations: 40.75 kB / 1.039 GB, free: 90.94 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=46): time 3.827e-06/0.7621, allocations: 1.547 kB / 1.039 GB, free: 90.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70): time 0.02748/0.7896, allocations: 7.691 MB / 1.047 GB, free: 89.13 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.7896, allocations: 67.61 kB / 1.047 GB, free: 89.06 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.7911, allocations: 0.9245 MB / 1.048 GB, free: 88.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.716e-05/0.7912, allocations: 39.88 kB / 1.048 GB, free: 88.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.7916, allocations: 0.7746 MB / 1.049 GB, free: 88.06 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.7918, allocations: 248.5 kB / 1.049 GB, free: 87.87 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003657/0.7922, allocations: 216 kB / 1.049 GB, free: 87.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7923, allocations: 400.3 kB / 1.05 GB, free: 87.42 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009984/0.7933, allocations: 0.7815 MB / 1.05 GB, free: 87.14 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.7944, allocations: 1.124 MB / 1.051 GB, free: 86.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/0.7966, allocations: 1.947 MB / 1.053 GB, free: 85.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.7967, allocations: 3.062 kB / 1.053 GB, free: 85.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.008933/0.8056, allocations: 3.602 MB / 1.057 GB, free: 84.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.8057, allocations: 10.19 kB / 1.057 GB, free: 84.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/0.8057, allocations: 14.62 kB / 1.057 GB, free: 84.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00719/0.8129, allocations: 1.903 MB / 1.059 GB, free: 84.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/0.8138, allocations: 221.9 kB / 1.059 GB, free: 84.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.8273, allocations: 9.785 MB / 1.068 GB, free: 78.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.8288, allocations: 172.8 kB / 1.069 GB, free: 78.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.606e-05/0.829, allocations: 50.86 kB / 1.069 GB, free: 78.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002132/0.8311, allocations: 1.495 MB / 1.07 GB, free: 78.35 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001213/0.8323, allocations: 1.101 MB / 1.071 GB, free: 77.65 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002175/0.8345, allocations: 1.885 MB / 1.073 GB, free: 76.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.482e-06/0.8345, allocations: 7.688 kB / 1.073 GB, free: 76.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007014/0.8416, allocations: 3.046 MB / 1.076 GB, free: 75.81 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.8416, allocations: 9.656 kB / 1.076 GB, free: 75.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.8416, allocations: 9.094 kB / 1.076 GB, free: 75.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004604/0.8462, allocations: 1.201 MB / 1.077 GB, free: 75.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.8473, allocations: 279.2 kB / 1.078 GB, free: 75.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006926/0.8542, allocations: 5.415 MB / 1.083 GB, free: 72.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.8557, allocations: 159.8 kB / 1.083 GB, free: 72.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.8559, allocations: 45.91 kB / 1.083 GB, free: 72.73 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003537/0.8563, allocations: 253.3 kB / 1.083 GB, free: 72.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.8565, allocations: 87.66 kB / 1.083 GB, free: 72.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007846/0.8644, allocations: 3.135 MB / 1.086 GB, free: 71.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.8644, allocations: 11.22 kB / 1.086 GB, free: 71.58 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.8644, allocations: 7 kB / 1.086 GB, free: 71.58 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.8644, allocations: 4.125 kB / 1.086 GB, free: 71.58 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.8762, allocations: 5.263 MB / 1.092 GB, free: 69.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.8762, allocations: 0.6094 kB / 1.092 GB, free: 69.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.8766, allocations: 105.6 kB / 1.092 GB, free: 69.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006273/0.8829, allocations: 1.716 MB / 1.093 GB, free: 69.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.613e-05/0.883, allocations: 14.44 kB / 1.093 GB, free: 69.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/0.8945, allocations: 9.212 MB / 1.102 GB, free: 64.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.8945, allocations: 0.5625 kB / 1.102 GB, free: 64.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009023/0.9036, allocations: 4.67 MB / 1.107 GB, free: 62.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000692/0.9043, allocations: 312.8 kB / 1.107 GB, free: 62.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.9045, allocations: 14.06 kB / 1.107 GB, free: 62.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009297/0.9055, allocations: 130.5 kB / 1.107 GB, free: 62.03 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/0.9058, allocations: 69 kB / 1.107 GB, free: 62.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.267e-05/0.9059, allocations: 24 kB / 1.107 GB, free: 62.01 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008381/0.9067, allocations: 0.6626 MB / 1.108 GB, free: 61.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9067, allocations: 3.938 kB / 1.108 GB, free: 61.74 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002616/0.9093, allocations: 0.6872 MB / 1.109 GB, free: 61.69 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002233/0.9096, allocations: 125.3 kB / 1.109 GB, free: 61.58 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005104/0.9147, allocations: 3.464 MB / 1.112 GB, free: 60.12 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.9147, allocations: 0 / 1.112 GB, free: 60.12 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.9165, allocations: 1.239 MB / 1.113 GB, free: 59.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.9179, allocations: 263.8 kB / 1.114 GB, free: 59.45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006055/0.9239, allocations: 4.688 MB / 1.118 GB, free: 56.88 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.9253, allocations: 1.75 MB / 1.12 GB, free: 55.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001378/0.9267, allocations: 0.5098 MB / 1.12 GB, free: 55.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.9269, allocations: 59.69 kB / 1.121 GB, free: 55.89 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.9269, allocations: 0 / 1.121 GB, free: 55.89 MB / 0.7448 GB Notification: Performance of Templates: time 0.05413/0.981, allocations: 30.69 MB / 1.151 GB, free: 46.64 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)