Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 195.6 kB / 16.64 MB, free: 6.453 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.501/1.501, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.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.809/1.809, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.002531/0.002532, allocations: 78.08 kB / 0.6723 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2602, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.039/0.2992, allocations: 35 MB / 0.8183 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01848/0.3178, allocations: 10.01 MB / 0.8281 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003659/0.3215, allocations: 151.2 kB / 0.8282 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009677/0.3312, allocations: 3.805 MB / 0.832 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006895/0.3381, allocations: 2.028 MB / 0.8339 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00551/0.3437, allocations: 1.952 MB / 0.8358 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01093/0.3546, allocations: 7.99 MB / 0.8436 GB, free: 15.6 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01428/0.3689, allocations: 9.514 MB / 0.8529 GB, free: 5.969 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005829/0.3748, allocations: 3.377 MB / 0.8562 GB, free: 2.582 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00629/0.3811, allocations: 3.734 MB / 0.8599 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002207/0.3833, allocations: 0.6797 MB / 0.8605 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005609/0.389, allocations: 1.447 MB / 0.862 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0046/0.3936, allocations: 2.616 MB / 0.8645 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007676/0.4013, allocations: 3.104 MB / 0.8675 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01306/0.4144, allocations: 10.37 MB / 0.8777 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4144, allocations: 0 / 0.8777 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4144, allocations: 4 kB / 0.8777 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002565/0.4147, allocations: 0 / 0.8777 GB, free: 12.57 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01239/0.4271, allocations: 5.416 MB / 0.883 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4271, allocations: 12.03 kB / 0.883 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/0.432, allocations: 0.9587 MB / 0.8839 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006122/0.4381, allocations: 3.186 MB / 0.887 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002592/0.4384, allocations: 353.9 kB / 0.8874 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/0.4395, allocations: 472.2 kB / 0.8878 GB, free: 2.051 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.4575, allocations: 7.91 MB / 0.8955 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/0.4577, allocations: 15.88 kB / 0.8955 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005599/0.4582, allocations: 208 kB / 0.8957 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005311/0.4588, allocations: 369.1 kB / 0.8961 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.4694, allocations: 5.937 MB / 0.9019 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5189/0.9883, allocations: 35.94 MB / 0.937 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003369/0.9917, allocations: 2.146 MB / 0.9391 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/0.9937, allocations: 1.484 MB / 0.9405 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.9938, allocations: 14.94 kB / 0.9405 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.9939, allocations: 53.64 kB / 0.9406 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.196e-06/0.9939, allocations: 0 / 0.9406 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01501/1.009, allocations: 7.541 MB / 0.948 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/1.009, allocations: 71.72 kB / 0.948 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003819/1.013, allocations: 1.857 MB / 0.9498 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002557/1.013, allocations: 57.86 kB / 0.9499 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002261/1.015, allocations: 2.122 MB / 0.952 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006956/1.016, allocations: 0.5671 MB / 0.9525 GB, free: 99.63 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007702/1.017, allocations: 402.1 kB / 0.9529 GB, free: 99.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.023e-05/1.017, allocations: 301.6 kB / 0.9532 GB, free: 99.13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/1.019, allocations: 1.062 MB / 0.9542 GB, free: 98.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/1.021, allocations: 1.766 MB / 0.956 GB, free: 97.44 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003703/1.025, allocations: 3.049 MB / 0.9589 GB, free: 95.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/1.025, allocations: 7.531 kB / 0.9589 GB, free: 95.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00707/1.032, allocations: 3.919 MB / 0.9628 GB, free: 93.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/1.032, allocations: 18.47 kB / 0.9628 GB, free: 93.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.676e-05/1.032, allocations: 28.59 kB / 0.9628 GB, free: 93.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/1.035, allocations: 0.9245 MB / 0.9637 GB, free: 93.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/1.036, allocations: 432.1 kB / 0.9641 GB, free: 93.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/1.055, allocations: 22.76 MB / 0.9864 GB, free: 72.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/1.058, allocations: 123 kB / 0.9865 GB, free: 72.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/1.058, allocations: 94.56 kB / 0.9866 GB, free: 72.85 MB / 0.7325 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.00255/1.061, allocations: 1.653 MB / 0.9882 GB, free: 71.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005029/1.061, allocations: 254.8 kB / 0.9884 GB, free: 71.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004773/1.066, allocations: 3.269 MB / 0.9916 GB, free: 69.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/1.066, allocations: 14.97 kB / 0.9916 GB, free: 69.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/1.066, allocations: 10.88 kB / 0.9916 GB, free: 69.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/1.066, allocations: 7.969 kB / 0.9916 GB, free: 69.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/1.077, allocations: 7.554 MB / 0.999 GB, free: 65.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.077, allocations: 3.75 kB / 0.999 GB, free: 65.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008809/1.078, allocations: 217.2 kB / 0.9992 GB, free: 65.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002184/1.08, allocations: 0.8927 MB / 1 GB, free: 64.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/1.08, allocations: 29.06 kB / 1 GB, free: 64.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/1.095, allocations: 22.72 MB / 1.022 GB, free: 41.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.095, allocations: 16 kB / 1.022 GB, free: 41.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005436/1.101, allocations: 3.374 MB / 1.026 GB, free: 37.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.102, allocations: 0.5292 MB / 1.026 GB, free: 37.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003019/1.102, allocations: 36 kB / 1.026 GB, free: 37.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.104, allocations: 95.88 kB / 1.026 GB, free: 37.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004141/1.104, allocations: 137 kB / 1.026 GB, free: 37.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.852e-05/1.104, allocations: 48 kB / 1.026 GB, free: 37.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001512/1.106, allocations: 1.225 MB / 1.028 GB, free: 35.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/1.106, allocations: 0 / 1.028 GB, free: 35.83 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003143/1.109, allocations: 0.9101 MB / 1.029 GB, free: 34.92 MB / 0.7325 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002683/1.109, allocations: 159 kB / 1.029 GB, free: 34.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00581/1.115, allocations: 4.427 MB / 1.033 GB, free: 30.19 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.115, allocations: 12 kB / 1.033 GB, free: 30.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003397/1.118, allocations: 2.987 MB / 1.036 GB, free: 27.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/1.122, allocations: 0.8067 MB / 1.037 GB, free: 26.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/1.137, allocations: 7.607 MB / 1.044 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002801/1.14, allocations: 3.204 MB / 1.047 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001821/1.142, allocations: 0.5254 MB / 1.048 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/1.142, allocations: 143.4 kB / 1.048 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of SimCode: time 1.343e-06/1.142, allocations: 0 / 1.048 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of Templates: time 0.07523/1.217, allocations: 40.99 MB / 1.088 GB, free: 6.379 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)