Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.3 MB / 308.1 MB, free: 4.266 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.001679/0.001679, allocations: 198.3 kB / 376.9 MB, free: 1.785 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.686/1.686, allocations: 205.1 MB / 0.6354 GB, free: 9.754 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.0009524/0.0009523, allocations: 92.08 kB / 0.748 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 55.92 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2952, allocations: 114.5 MB / 0.9822 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03329/0.3285, allocations: 26.36 MB / 1.008 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.344, allocations: 8.123 MB / 1.016 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003555/0.3476, allocations: 103.4 kB / 1.016 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.007167/0.3548, allocations: 2.565 MB / 1.019 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005579/0.3604, allocations: 1.493 MB / 1.02 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005265/0.3657, allocations: 1.529 MB / 1.021 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.5581/0.9239, allocations: 8.731 MB / 1.03 GB, free: 70 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0149/0.9388, allocations: 8.198 MB / 1.038 GB, free: 68.88 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005689/0.9446, allocations: 2.208 MB / 1.04 GB, free: 68.71 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007267/0.9519, allocations: 2.887 MB / 1.043 GB, free: 68.37 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002204/0.9541, allocations: 346.5 kB / 1.043 GB, free: 68.37 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005249/0.9594, allocations: 1.326 MB / 1.045 GB, free: 68.37 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.004407/0.9638, allocations: 1.884 MB / 1.046 GB, free: 68.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.006145/0.97, allocations: 2.185 MB / 1.049 GB, free: 67.63 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.9825, allocations: 7.934 MB / 1.056 GB, free: 66.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.63e-05/0.9826, allocations: 3.688 kB / 1.056 GB, free: 66.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9826, allocations: 0 / 1.056 GB, free: 66.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004602/0.9831, allocations: 0 / 1.056 GB, free: 66.89 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0164/0.9995, allocations: 4.224 MB / 1.06 GB, free: 65.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.9996, allocations: 9.594 kB / 1.06 GB, free: 65.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004935/1.005, allocations: 0.7983 MB / 1.061 GB, free: 65.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005688/1.01, allocations: 2.429 MB / 1.064 GB, free: 64.47 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/1.01, allocations: 269 kB / 1.064 GB, free: 64.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001196/1.012, allocations: 373.2 kB / 1.064 GB, free: 64.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/1.023, allocations: 6.001 MB / 1.07 GB, free: 62.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/1.023, allocations: 17.28 kB / 1.07 GB, free: 62.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000416/1.024, allocations: 163.2 kB / 1.07 GB, free: 62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005725/1.025, allocations: 279.4 kB / 1.071 GB, free: 61.96 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007506/1.032, allocations: 4.519 MB / 1.075 GB, free: 60.46 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02599/1.058, allocations: 27.66 MB / 1.102 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/1.059, allocations: 1.122 MB / 1.103 GB, free: 37.58 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/1.061, allocations: 1.022 MB / 1.104 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.477e-05/1.061, allocations: 10.84 kB / 1.104 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/1.061, allocations: 48.84 kB / 1.104 GB, free: 37.15 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=110): time 3.767e-06/1.061, allocations: 4 kB / 1.104 GB, free: 37.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=131): time 0.02052/1.081, allocations: 9.661 MB / 1.114 GB, free: 32.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/1.081, allocations: 65.12 kB / 1.114 GB, free: 32.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/1.083, allocations: 1.494 MB / 1.115 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002256/1.084, allocations: 48.05 kB / 1.115 GB, free: 32.19 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008396/1.085, allocations: 1.669 MB / 1.117 GB, free: 30.92 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004009/1.085, allocations: 466.7 kB / 1.117 GB, free: 30.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005758/1.086, allocations: 330.3 kB / 1.117 GB, free: 30.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.472e-05/1.086, allocations: 305.1 kB / 1.118 GB, free: 30.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/1.087, allocations: 0.9138 MB / 1.119 GB, free: 29.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/1.088, allocations: 1.468 MB / 1.12 GB, free: 28.74 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002826/1.091, allocations: 2.552 MB / 1.123 GB, free: 27.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/1.091, allocations: 6.312 kB / 1.123 GB, free: 27.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005588/1.097, allocations: 3.281 MB / 1.126 GB, free: 25.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/1.097, allocations: 16.06 kB / 1.126 GB, free: 25.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.721e-05/1.097, allocations: 21.83 kB / 1.126 GB, free: 25.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002376/1.099, allocations: 0.7391 MB / 1.127 GB, free: 25.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/1.101, allocations: 383.8 kB / 1.127 GB, free: 25.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/1.116, allocations: 15.76 MB / 1.142 GB, free: 28.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/1.118, allocations: 110 kB / 1.142 GB, free: 28.17 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003385/1.119, allocations: 76.31 kB / 1.143 GB, free: 28.15 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003294/1.122, allocations: 1.308 MB / 1.144 GB, free: 27.57 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006741/1.123, allocations: 201 kB / 1.144 GB, free: 27.47 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005294/1.128, allocations: 2.786 MB / 1.147 GB, free: 26.32 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/1.128, allocations: 13 kB / 1.147 GB, free: 26.32 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.055e-05/1.128, allocations: 7.344 kB / 1.147 GB, free: 26.32 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/1.128, allocations: 11.17 kB / 1.147 GB, free: 26.31 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/1.14, allocations: 6.223 MB / 1.153 GB, free: 23.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.14, allocations: 5.75 kB / 1.153 GB, free: 23.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/1.141, allocations: 228.5 kB / 1.153 GB, free: 23.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00202/1.143, allocations: 0.6695 MB / 1.154 GB, free: 23.5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/1.143, allocations: 33.69 kB / 1.154 GB, free: 23.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01589/1.159, allocations: 15.51 MB / 1.169 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/1.159, allocations: 5.828 kB / 1.169 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01704/1.176, allocations: 8.828 MB / 1.177 GB, free: 5.492 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009948/1.177, allocations: 453.7 kB / 1.178 GB, free: 5.199 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/1.178, allocations: 39.83 kB / 1.178 GB, free: 5.176 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.179, allocations: 84.75 kB / 1.178 GB, free: 5.156 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005085/1.179, allocations: 114.2 kB / 1.178 GB, free: 5.129 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/1.179, allocations: 41.73 kB / 1.178 GB, free: 5.117 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001873/1.181, allocations: 0.9955 MB / 1.179 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.31e-07/1.181, allocations: 0 / 1.179 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003705/1.185, allocations: 0.8262 MB / 1.18 GB, free: 4.688 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003315/1.185, allocations: 155.8 kB / 1.18 GB, free: 4.562 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005538/1.191, allocations: 3.499 MB / 1.184 GB, free: 18.6 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.191, allocations: 0.9688 kB / 1.184 GB, free: 18.6 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003313/1.194, allocations: 2.289 MB / 1.186 GB, free: 17.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/1.198, allocations: 0.6248 MB / 1.186 GB, free: 16.9 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/1.213, allocations: 8.895 MB / 1.195 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003981/1.217, allocations: 2.704 MB / 1.198 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002197/1.219, allocations: 497.4 kB / 1.198 GB, free: 10 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/1.219, allocations: 120.8 kB / 1.198 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of SimCode: time 1.453e-06/1.219, allocations: 4 kB / 1.198 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of Templates: time 0.06224/1.282, allocations: 34.3 MB / 1.232 GB, free: 10.42 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)