Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001152, allocations: 102.4 kB / 16.35 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 194.7 kB / 17.29 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.838/1.838, allocations: 292.3 MB / 0.5496 GB, free: 17.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.211, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.4215/0.6324, allocations: 41.12 MB / 0.8249 GB, free: 24.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02493/0.6574, allocations: 15.09 MB / 0.8397 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005807/0.6633, allocations: 190.8 kB / 0.8398 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01215/0.6755, allocations: 4.445 MB / 0.8442 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01181/0.6873, allocations: 2.793 MB / 0.8469 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01069/0.6981, allocations: 3.16 MB / 0.85 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01924/0.7173, allocations: 11.4 MB / 0.8611 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02282/0.7402, allocations: 12.66 MB / 0.8735 GB, free: 12.91 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01235/0.7526, allocations: 4.812 MB / 0.8782 GB, free: 10.13 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01268/0.7653, allocations: 5.383 MB / 0.8835 GB, free: 5.516 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.004756/0.7701, allocations: 0.9492 MB / 0.8844 GB, free: 4.566 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009318/0.7795, allocations: 2.04 MB / 0.8864 GB, free: 2.523 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.008973/0.7885, allocations: 3.699 MB / 0.89 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01299/0.8015, allocations: 4.295 MB / 0.8942 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02118/0.8228, allocations: 14.28 MB / 0.9081 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.8228, allocations: 4 kB / 0.9081 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8228, allocations: 3.938 kB / 0.9081 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003988/0.8232, allocations: 0 / 0.9081 GB, free: 12.18 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02322/0.8465, allocations: 7.582 MB / 0.9155 GB, free: 4.516 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.8465, allocations: 16.03 kB / 0.9156 GB, free: 4.5 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/0.8587, allocations: 1.518 MB / 0.917 GB, free: 2.973 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.8703, allocations: 4.205 MB / 0.9211 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004079/0.8708, allocations: 456.4 kB / 0.9216 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002625/0.8734, allocations: 0.5978 MB / 0.9222 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0212/0.8946, allocations: 10.69 MB / 0.9326 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001576/0.8948, allocations: 23.77 kB / 0.9326 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007406/0.8956, allocations: 263.9 kB / 0.9329 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002699/0.8983, allocations: 0.7845 MB / 0.9336 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01734/0.9156, allocations: 8.553 MB / 0.942 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06611/0.9818, allocations: 46.54 MB / 0.9874 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00623/0.9881, allocations: 4.301 MB / 0.9916 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005318/0.9934, allocations: 3.705 MB / 0.9953 GB, free: 14.61 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.9937, allocations: 34.78 kB / 0.9953 GB, free: 14.57 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.247e-05/0.9938, allocations: 77.34 kB / 0.9954 GB, free: 14.48 MB / 0.795 GB Notification: Performance of pre-optimization done (n=353): time 6.933e-06/0.9938, allocations: 3.984 kB / 0.9954 GB, free: 14.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=578): time 0.4981/1.492, allocations: 122.7 MB / 1.115 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/1.492, allocations: 107.9 kB / 1.115 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003976/1.496, allocations: 2.685 MB / 1.118 GB, free: 100 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.001289/1.497, allocations: 125.8 kB / 1.118 GB, free: 15.96 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001949/1.499, allocations: 2.675 MB / 1.121 GB, free: 13.26 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002515/1.502, allocations: 1.956 MB / 1.123 GB, free: 11.28 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001874/1.504, allocations: 0.9248 MB / 1.123 GB, free: 10.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.504, allocations: 305.1 kB / 1.124 GB, free: 10.04 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00693/1.511, allocations: 4.079 MB / 1.128 GB, free: 5.957 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007661/1.518, allocations: 5.019 MB / 1.133 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4657/1.984, allocations: 9.844 MB / 1.142 GB, free: 281.1 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.552e-05/1.984, allocations: 11.81 kB / 1.142 GB, free: 281.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04305/2.027, allocations: 16.98 MB / 1.159 GB, free: 275.1 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/2.027, allocations: 19.62 kB / 1.159 GB, free: 275.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-05/2.027, allocations: 21.94 kB / 1.159 GB, free: 275.1 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03286/2.06, allocations: 9.083 MB / 1.168 GB, free: 272.9 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/2.063, allocations: 0.5258 MB / 1.168 GB, free: 272.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0992/2.162, allocations: 76.96 MB / 1.243 GB, free: 225 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00489/2.167, allocations: 275.7 kB / 1.244 GB, free: 224.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009063/2.168, allocations: 192.7 kB / 1.244 GB, free: 224.5 MB / 0.92 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00393/2.172, allocations: 2.427 MB / 1.246 GB, free: 222.1 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/2.173, allocations: 474.5 kB / 1.247 GB, free: 221.6 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0339/2.207, allocations: 16.81 MB / 1.263 GB, free: 204.6 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.034e-05/2.207, allocations: 56 kB / 1.263 GB, free: 204.6 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001811/2.207, allocations: 68 kB / 1.263 GB, free: 204.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.175e-05/2.207, allocations: 31.89 kB / 1.263 GB, free: 204.5 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04801/2.255, allocations: 25.66 MB / 1.288 GB, free: 178.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-05/2.255, allocations: 5.25 kB / 1.288 GB, free: 178.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/2.257, allocations: 319.5 kB / 1.289 GB, free: 178.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02613/2.283, allocations: 8.278 MB / 1.297 GB, free: 170 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001054/2.284, allocations: 100 kB / 1.297 GB, free: 169.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08217/2.367, allocations: 73.83 MB / 1.369 GB, free: 94.53 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/2.367, allocations: 15.77 kB / 1.369 GB, free: 94.52 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03781/2.404, allocations: 21.56 MB / 1.39 GB, free: 72.61 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003959/2.408, allocations: 1.354 MB / 1.391 GB, free: 71.23 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00135/2.41, allocations: 111.9 kB / 1.391 GB, free: 71.12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003656/2.413, allocations: 287.6 kB / 1.392 GB, free: 70.84 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002355/2.416, allocations: 0.5182 MB / 1.392 GB, free: 70.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004316/2.416, allocations: 152.1 kB / 1.392 GB, free: 70.18 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002416/2.419, allocations: 1.776 MB / 1.394 GB, free: 68.41 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.31e-07/2.419, allocations: 0 / 1.394 GB, free: 68.41 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.008006/2.427, allocations: 2.461 MB / 1.397 GB, free: 65.95 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008525/2.428, allocations: 246.7 kB / 1.397 GB, free: 65.7 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02326/2.451, allocations: 14.53 MB / 1.411 GB, free: 51 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/2.451, allocations: 0 / 1.411 GB, free: 51 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01733/2.468, allocations: 9.35 MB / 1.42 GB, free: 41.5 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007138/2.475, allocations: 1.384 MB / 1.421 GB, free: 40.3 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02737/2.503, allocations: 15.58 MB / 1.437 GB, free: 24.71 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007295/2.51, allocations: 4.896 MB / 1.441 GB, free: 19.77 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002874/2.513, allocations: 0.7472 MB / 1.442 GB, free: 19.02 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005949/2.514, allocations: 191.4 kB / 1.442 GB, free: 18.84 MB / 0.92 GB Notification: Performance of SimCode: time 1.012e-06/2.514, allocations: 7.938 kB / 1.442 GB, free: 18.83 MB / 0.92 GB Notification: Performance of Templates: time 0.5573/3.071, allocations: 144.7 MB / 1.584 GB, free: 251.4 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)