Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 292.3 MB / 308.1 MB, free: 4.348 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.001333/0.001333, allocations: 184.4 kB / 376.9 MB, free: 1.82 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.604/1.604, allocations: 205 MB / 0.6354 GB, free: 9.816 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.0009692/0.0009692, allocations: 96.58 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 59.91 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3129, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03947/0.3524, allocations: 34.38 MB / 1.016 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.5683/0.9208, allocations: 11.62 MB / 1.027 GB, free: 71.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004351/0.9252, allocations: 145.3 kB / 1.027 GB, free: 71.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.9355, allocations: 3.978 MB / 1.031 GB, free: 71.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007103/0.9426, allocations: 1.87 MB / 1.033 GB, free: 71.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.007027/0.9497, allocations: 2.18 MB / 1.035 GB, free: 70.98 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.02104/0.9707, allocations: 12.46 MB / 1.047 GB, free: 70.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0243/0.9951, allocations: 12.33 MB / 1.059 GB, free: 67.94 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009186/1.004, allocations: 3.222 MB / 1.062 GB, free: 66.67 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008864/1.013, allocations: 4.273 MB / 1.067 GB, free: 65.24 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.003255/1.016, allocations: 0.5421 MB / 1.067 GB, free: 65.24 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008744/1.025, allocations: 2.126 MB / 1.069 GB, free: 64.8 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.007006/1.032, allocations: 2.819 MB / 1.072 GB, free: 63.8 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0124/1.045, allocations: 3.132 MB / 1.075 GB, free: 61.87 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.02174/1.066, allocations: 11.83 MB / 1.087 GB, free: 58.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.067, allocations: 3.938 kB / 1.087 GB, free: 58.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.583e-06/1.067, allocations: 4 kB / 1.087 GB, free: 58.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005305/1.067, allocations: 0 / 1.087 GB, free: 58.43 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02325/1.09, allocations: 5.796 MB / 1.092 GB, free: 55.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.6e-05/1.09, allocations: 8.625 kB / 1.092 GB, free: 55.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00831/1.099, allocations: 1.061 MB / 1.093 GB, free: 54.97 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/1.109, allocations: 3.259 MB / 1.097 GB, free: 53.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000467/1.11, allocations: 415 kB / 1.097 GB, free: 53.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002714/1.112, allocations: 0.5373 MB / 1.097 GB, free: 52.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02747/1.14, allocations: 9.08 MB / 1.106 GB, free: 49.2 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004788/1.14, allocations: 33.14 kB / 1.106 GB, free: 49.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002781/1.143, allocations: 237.9 kB / 1.107 GB, free: 49.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005178/1.144, allocations: 351.3 kB / 1.107 GB, free: 48.97 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/1.16, allocations: 6.826 MB / 1.114 GB, free: 46.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05934/1.22, allocations: 40.11 MB / 1.153 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004879/1.225, allocations: 3.105 MB / 1.156 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004121/1.229, allocations: 1.97 MB / 1.158 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/1.229, allocations: 19.06 kB / 1.158 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/1.229, allocations: 60.03 kB / 1.158 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=179): time 5.45e-06/1.229, allocations: 0 / 1.158 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=182): time 0.03082/1.26, allocations: 9.976 MB / 1.168 GB, free: 23.33 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/1.26, allocations: 75.38 kB / 1.168 GB, free: 23.27 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003291/1.264, allocations: 1.523 MB / 1.169 GB, free: 22.64 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002808/1.264, allocations: 51.98 kB / 1.169 GB, free: 22.59 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001563/1.265, allocations: 2.267 MB / 1.171 GB, free: 20.89 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007189/1.266, allocations: 0.6229 MB / 1.172 GB, free: 20.41 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008995/1.267, allocations: 410.9 kB / 1.172 GB, free: 20.21 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.267, allocations: 306.4 kB / 1.173 GB, free: 19.91 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/1.269, allocations: 1.182 MB / 1.174 GB, free: 19.47 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/1.271, allocations: 1.878 MB / 1.176 GB, free: 18.14 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004249/1.275, allocations: 3.373 MB / 1.179 GB, free: 16.08 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.031e-05/1.275, allocations: 10.59 kB / 1.179 GB, free: 16.08 MB / 0.7605 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008304/1.284, allocations: 4.586 MB / 1.183 GB, free: 14 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/1.284, allocations: 15.22 kB / 1.183 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-05/1.284, allocations: 21.22 kB / 1.183 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003901/1.288, allocations: 1.587 MB / 1.185 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/1.289, allocations: 349.5 kB / 1.185 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02595/1.315, allocations: 17.03 MB / 1.202 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/1.318, allocations: 119.9 kB / 1.202 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004383/1.318, allocations: 92 kB / 1.202 GB, free: 11.36 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004579/1.323, allocations: 1.902 MB / 1.204 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009145/1.324, allocations: 221.4 kB / 1.204 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007807/1.331, allocations: 4.094 MB / 1.208 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/1.331, allocations: 16 kB / 1.208 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.178e-05/1.332, allocations: 19.98 kB / 1.208 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/1.332, allocations: 7.969 kB / 1.208 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02316/1.355, allocations: 9.476 MB / 1.218 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/1.355, allocations: 7.938 kB / 1.218 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009998/1.356, allocations: 183.7 kB / 1.218 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003704/1.36, allocations: 1.345 MB / 1.219 GB, free: 9.828 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002938/1.36, allocations: 36 kB / 1.219 GB, free: 9.793 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0228/1.383, allocations: 15.94 MB / 1.235 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.417e-06/1.383, allocations: 11.94 kB / 1.235 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/1.394, allocations: 6.715 MB / 1.241 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/1.396, allocations: 0.5333 MB / 1.242 GB, free: 1.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006543/1.397, allocations: 36 kB / 1.242 GB, free: 1.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/1.398, allocations: 87.89 kB / 1.242 GB, free: 1.793 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006078/1.399, allocations: 161.7 kB / 1.242 GB, free: 1.637 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.399, allocations: 48 kB / 1.242 GB, free: 1.59 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00195/1.401, allocations: 1.001 MB / 1.243 GB, free: 0.5664 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.5e-07/1.401, allocations: 0 / 1.243 GB, free: 0.5664 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004677/1.406, allocations: 0.9883 MB / 1.244 GB, free: 15.57 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003718/1.406, allocations: 154.9 kB / 1.244 GB, free: 15.42 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0084/1.415, allocations: 4.266 MB / 1.248 GB, free: 11.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.415, allocations: 0 / 1.248 GB, free: 11.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004765/1.419, allocations: 2.68 MB / 1.251 GB, free: 8.375 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004651/1.424, allocations: 0.7116 MB / 1.252 GB, free: 7.668 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02358/1.448, allocations: 12.12 MB / 1.263 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008043/1.456, allocations: 3.631 MB / 1.267 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002142/1.458, allocations: 467.9 kB / 1.267 GB, free: 7.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/1.459, allocations: 115.4 kB / 1.268 GB, free: 7.227 MB / 0.8386 GB Notification: Performance of SimCode: time 1.082e-06/1.459, allocations: 0 / 1.268 GB, free: 7.227 MB / 0.8386 GB Notification: Performance of Templates: time 0.08285/1.541, allocations: 44.01 MB / 1.311 GB, free: 11.62 MB / 0.8855 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)