Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.91/1.91, allocations: 292.3 MB / 308.1 MB, free: 4.328 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.001764/0.001765, allocations: 191.2 kB / 376.9 MB, free: 1.84 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.76/1.76, allocations: 205.1 MB / 0.6354 GB, free: 9.812 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.001044/0.001044, allocations: 94.39 kB / 0.7479 GB, free: 61.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2713, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0234/0.2947, allocations: 20.03 MB / 1.002 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01213/0.3069, allocations: 6.482 MB / 1.008 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.3091, allocations: 79.56 kB / 1.008 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005515/0.3146, allocations: 2.086 MB / 1.01 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003461/0.3181, allocations: 1.104 MB / 1.011 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003646/0.3218, allocations: 1.17 MB / 1.012 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007754/0.3296, allocations: 7.01 MB / 1.019 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.477/0.8066, allocations: 6.16 MB / 1.025 GB, free: 69.7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004935/0.8116, allocations: 1.797 MB / 1.027 GB, free: 69.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004689/0.8163, allocations: 2.384 MB / 1.029 GB, free: 69.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001438/0.8178, allocations: 293.5 kB / 1.03 GB, free: 69.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003234/0.821, allocations: 1.03 MB / 1.031 GB, free: 69.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002997/0.824, allocations: 1.527 MB / 1.032 GB, free: 69.27 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.005035/0.8291, allocations: 1.762 MB / 1.034 GB, free: 68.8 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01093/0.8401, allocations: 6.419 MB / 1.04 GB, free: 68.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.8401, allocations: 1.281 kB / 1.04 GB, free: 68.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.017e-06/0.8401, allocations: 0 / 1.04 GB, free: 68.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002524/0.8404, allocations: 2.156 kB / 1.04 GB, free: 68.27 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01159/0.852, allocations: 3.447 MB / 1.044 GB, free: 66.92 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.852, allocations: 10.12 kB / 1.044 GB, free: 66.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003662/0.8557, allocations: 0.6383 MB / 1.044 GB, free: 66.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00449/0.8602, allocations: 1.938 MB / 1.046 GB, free: 66.26 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.8604, allocations: 224.9 kB / 1.046 GB, free: 66.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00066/0.8611, allocations: 292.5 kB / 1.047 GB, free: 66.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007203/0.8683, allocations: 4.895 MB / 1.051 GB, free: 65.67 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.182e-05/0.8684, allocations: 12.53 kB / 1.051 GB, free: 65.67 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/0.8687, allocations: 130.1 kB / 1.051 GB, free: 65.67 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003779/0.8691, allocations: 227.2 kB / 1.052 GB, free: 65.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005239/0.8743, allocations: 3.755 MB / 1.055 GB, free: 65.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01773/0.8921, allocations: 21.57 MB / 1.076 GB, free: 49.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.8936, allocations: 1.301 MB / 1.078 GB, free: 48.99 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.8948, allocations: 1.048 MB / 1.079 GB, free: 48.6 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.725e-05/0.8948, allocations: 16.7 kB / 1.079 GB, free: 48.6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.8949, allocations: 46.22 kB / 1.079 GB, free: 48.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=107): time 3.316e-06/0.8949, allocations: 0 / 1.079 GB, free: 48.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=138): time 0.02252/0.9174, allocations: 8.645 MB / 1.087 GB, free: 45.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.9175, allocations: 65.53 kB / 1.087 GB, free: 45.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.9187, allocations: 1.138 MB / 1.088 GB, free: 45.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.85e-05/0.9188, allocations: 52.17 kB / 1.088 GB, free: 45.21 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004653/0.9193, allocations: 1.292 MB / 1.09 GB, free: 44.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.9196, allocations: 483.3 kB / 1.09 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003995/0.92, allocations: 290.8 kB / 1.09 GB, free: 43.72 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 3.715e-05/0.92, allocations: 309.1 kB / 1.091 GB, free: 43.42 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009945/0.921, allocations: 0.914 MB / 1.092 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.9222, allocations: 1.33 MB / 1.093 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002611/0.9248, allocations: 2.429 MB / 1.095 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.974e-06/0.9248, allocations: 6.281 kB / 1.095 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005451/0.9303, allocations: 3.465 MB / 1.099 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.9303, allocations: 13.62 kB / 1.099 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.9303, allocations: 13.55 kB / 1.099 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002819/0.9332, allocations: 1.174 MB / 1.1 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008339/0.934, allocations: 263.8 kB / 1.1 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/0.9471, allocations: 12.72 MB / 1.113 GB, free: 31.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.9487, allocations: 91.31 kB / 1.113 GB, free: 31.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.9489, allocations: 66.2 kB / 1.113 GB, free: 31.59 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002079/0.951, allocations: 1.111 MB / 1.114 GB, free: 31.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.9512, allocations: 163 kB / 1.114 GB, free: 31.01 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004921/0.9562, allocations: 3.168 MB / 1.117 GB, free: 29.76 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.9562, allocations: 12.12 kB / 1.117 GB, free: 29.76 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.9562, allocations: 12.41 kB / 1.117 GB, free: 29.76 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.9562, allocations: 6.844 kB / 1.117 GB, free: 29.76 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.9669, allocations: 6.262 MB / 1.123 GB, free: 27.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.9669, allocations: 6.281 kB / 1.123 GB, free: 27.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006813/0.9676, allocations: 144.8 kB / 1.123 GB, free: 27.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002735/0.9704, allocations: 1.07 MB / 1.124 GB, free: 26.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.9705, allocations: 32 kB / 1.124 GB, free: 26.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/0.9845, allocations: 12.41 MB / 1.136 GB, free: 19.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.9845, allocations: 8.031 kB / 1.137 GB, free: 19.33 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00751/0.992, allocations: 5.252 MB / 1.142 GB, free: 32.71 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.9931, allocations: 431.1 kB / 1.142 GB, free: 32.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/0.9933, allocations: 29.94 kB / 1.142 GB, free: 32.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007877/0.9941, allocations: 85.78 kB / 1.142 GB, free: 32.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/0.9945, allocations: 126 kB / 1.142 GB, free: 32.37 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.979e-05/0.9946, allocations: 39.38 kB / 1.142 GB, free: 32.36 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0009643/0.9956, allocations: 0.7714 MB / 1.143 GB, free: 32.05 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9956, allocations: 0 / 1.143 GB, free: 32.05 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002338/0.9979, allocations: 0.6617 MB / 1.144 GB, free: 31.99 MB / 0.7605 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002285/0.9981, allocations: 134.9 kB / 1.144 GB, free: 31.89 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004547/1.003, allocations: 3.12 MB / 1.147 GB, free: 30.5 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/1.003, allocations: 1.25 kB / 1.147 GB, free: 30.5 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003008/1.006, allocations: 1.954 MB / 1.149 GB, free: 29.53 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/1.008, allocations: 471.6 kB / 1.149 GB, free: 29.4 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/1.021, allocations: 7.601 MB / 1.157 GB, free: 25.04 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003718/1.025, allocations: 2.387 MB / 1.159 GB, free: 23.98 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001486/1.026, allocations: 351.3 kB / 1.159 GB, free: 23.92 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/1.027, allocations: 88.22 kB / 1.159 GB, free: 23.91 MB / 0.7605 GB Notification: Performance of SimCode: time 1.203e-06/1.027, allocations: 0 / 1.159 GB, free: 23.91 MB / 0.7605 GB Notification: Performance of Templates: time 0.05558/1.082, allocations: 32.67 MB / 1.191 GB, free: 7.473 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)