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.001582/0.001581, allocations: 105.3 kB / 16.36 MB, free: 6.305 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.001856/0.001856, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.401/1.401, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.804/1.804, allocations: 292.3 MB / 0.5496 GB, free: 17.69 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.002297/0.002297, allocations: 75.89 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2527, allocations: 114.5 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.3923/0.645, allocations: 41.12 MB / 0.8249 GB, free: 24.6 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02412/0.6692, allocations: 15.09 MB / 0.8397 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006045/0.6752, allocations: 191.9 kB / 0.8399 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01169/0.6871, allocations: 4.448 MB / 0.8442 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009426/0.6965, allocations: 2.789 MB / 0.8469 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009705/0.7062, allocations: 3.159 MB / 0.85 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01711/0.7234, allocations: 11.39 MB / 0.8611 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02185/0.7453, allocations: 12.66 MB / 0.8735 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0116/0.7569, allocations: 4.816 MB / 0.8782 GB, free: 10.18 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/0.768, allocations: 5.389 MB / 0.8835 GB, free: 5.496 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003716/0.7718, allocations: 0.9531 MB / 0.8844 GB, free: 4.543 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007727/0.7795, allocations: 2.036 MB / 0.8864 GB, free: 2.504 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.007166/0.7867, allocations: 3.688 MB / 0.89 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01078/0.7976, allocations: 4.299 MB / 0.8942 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01966/0.8173, allocations: 14.27 MB / 0.9081 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.8173, allocations: 0 / 0.9081 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8173, allocations: 3.938 kB / 0.9081 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0005097/0.8179, allocations: 0 / 0.9081 GB, free: 12.17 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.02558/0.8435, allocations: 7.604 MB / 0.9156 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.8435, allocations: 12.03 kB / 0.9156 GB, free: 4.477 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.8553, allocations: 1.522 MB / 0.9171 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.8662, allocations: 4.447 MB / 0.9214 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005258/0.8668, allocations: 456.4 kB / 0.9218 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002968/0.8698, allocations: 0.59 MB / 0.9224 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02617/0.896, allocations: 10.69 MB / 0.9329 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002184/0.8962, allocations: 27.72 kB / 0.9329 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001286/0.8975, allocations: 263.9 kB / 0.9331 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002826/0.9004, allocations: 0.7768 MB / 0.9339 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01949/0.9199, allocations: 8.561 MB / 0.9423 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06758/0.9875, allocations: 46.52 MB / 0.9877 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006693/0.9942, allocations: 4.31 MB / 0.9919 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00588/1, allocations: 3.697 MB / 0.9955 GB, free: 14.35 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003638/1.001, allocations: 42.72 kB / 0.9955 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.993e-05/1.001, allocations: 77.34 kB / 0.9956 GB, free: 14.22 MB / 0.795 GB Notification: Performance of pre-optimization done (n=353): time 4.909e-06/1.001, allocations: 0 / 0.9956 GB, free: 14.22 MB / 0.795 GB Notification: Performance of matching and sorting (n=578): time 0.5159/1.517, allocations: 122.7 MB / 1.115 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/1.517, allocations: 111.9 kB / 1.116 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003762/1.52, allocations: 2.681 MB / 1.118 GB, free: 15.82 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001165/1.522, allocations: 121.7 kB / 1.118 GB, free: 15.7 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001793/1.523, allocations: 2.679 MB / 1.121 GB, free: 12.99 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002571/1.526, allocations: 1.952 MB / 1.123 GB, free: 11.01 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00186/1.528, allocations: 0.9248 MB / 1.124 GB, free: 10.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.301e-05/1.528, allocations: 305.1 kB / 1.124 GB, free: 9.773 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006145/1.534, allocations: 4.079 MB / 1.128 GB, free: 5.688 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00727/1.541, allocations: 5.019 MB / 1.133 GB, free: 352 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4543/1.996, allocations: 9.841 MB / 1.143 GB, free: 281.2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.16e-05/1.996, allocations: 7.188 kB / 1.143 GB, free: 281.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04282/2.039, allocations: 16.99 MB / 1.159 GB, free: 275.2 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.244e-05/2.039, allocations: 19.86 kB / 1.159 GB, free: 275.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.637e-05/2.039, allocations: 22.72 kB / 1.159 GB, free: 275.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03316/2.072, allocations: 9.084 MB / 1.168 GB, free: 273 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002734/2.075, allocations: 0.5198 MB / 1.169 GB, free: 273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09657/2.171, allocations: 76.97 MB / 1.244 GB, free: 224.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006373/2.178, allocations: 275.8 kB / 1.244 GB, free: 224.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/2.179, allocations: 192 kB / 1.244 GB, free: 224.2 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.00467/2.184, allocations: 2.425 MB / 1.247 GB, free: 221.8 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/2.185, allocations: 474.5 kB / 1.247 GB, free: 221.3 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03502/2.22, allocations: 16.81 MB / 1.263 GB, free: 204.4 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-05/2.221, allocations: 52 kB / 1.263 GB, free: 204.3 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002173/2.221, allocations: 76 kB / 1.264 GB, free: 204.2 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001214/2.221, allocations: 27.89 kB / 1.264 GB, free: 204.2 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.076/2.297, allocations: 25.66 MB / 1.289 GB, free: 178.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.714e-05/2.297, allocations: 8 kB / 1.289 GB, free: 178.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002808/2.3, allocations: 319.5 kB / 1.289 GB, free: 178 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04384/2.344, allocations: 8.273 MB / 1.297 GB, free: 169.7 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001287/2.345, allocations: 108 kB / 1.297 GB, free: 169.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09193/2.437, allocations: 73.82 MB / 1.369 GB, free: 94.25 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/2.437, allocations: 15.77 kB / 1.369 GB, free: 94.23 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03966/2.477, allocations: 21.56 MB / 1.39 GB, free: 72.33 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003427/2.48, allocations: 1.362 MB / 1.392 GB, free: 70.94 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001327/2.482, allocations: 103.9 kB / 1.392 GB, free: 70.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004033/2.486, allocations: 295.3 kB / 1.392 GB, free: 70.55 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001912/2.488, allocations: 0.526 MB / 1.392 GB, free: 70.02 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005655/2.488, allocations: 140.7 kB / 1.393 GB, free: 69.89 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002327/2.49, allocations: 1.772 MB / 1.394 GB, free: 68.12 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.91e-07/2.49, allocations: 4 kB / 1.394 GB, free: 68.12 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.008309/2.499, allocations: 2.461 MB / 1.397 GB, free: 65.66 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.001103/2.5, allocations: 252.3 kB / 1.397 GB, free: 65.41 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02359/2.523, allocations: 14.52 MB / 1.411 GB, free: 50.71 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/2.524, allocations: 7.938 kB / 1.411 GB, free: 50.71 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01722/2.541, allocations: 9.352 MB / 1.42 GB, free: 41.21 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008172/2.549, allocations: 1.38 MB / 1.422 GB, free: 40.01 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02731/2.576, allocations: 16.5 MB / 1.438 GB, free: 23.5 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006322/2.583, allocations: 4.99 MB / 1.443 GB, free: 18.47 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/2.584, allocations: 211.4 kB / 1.443 GB, free: 18.26 MB / 0.92 GB Notification: Performance of SimCode: time 1.723e-06/2.584, allocations: 0 / 1.443 GB, free: 18.26 MB / 0.92 GB Notification: Performance of Templates: time 1.088/3.672, allocations: 474.6 MB / 1.906 GB, free: 301.7 MB / 0.9825 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)