Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001341/0.001341, allocations: 192.8 kB / 16.25 MB, free: 6.625 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.542/1.542, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.744/1.744, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001408/0.001408, allocations: 72.08 kB / 0.671 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.297, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03395/0.331, allocations: 32.2 MB / 0.8143 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01772/0.3487, allocations: 10.28 MB / 0.8244 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003829/0.3526, allocations: 135.2 kB / 0.8245 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00922/0.3619, allocations: 3.494 MB / 0.8279 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006505/0.3684, allocations: 1.696 MB / 0.8296 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006733/0.3752, allocations: 1.947 MB / 0.8315 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01149/0.3867, allocations: 7.353 MB / 0.8386 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0201/0.4069, allocations: 11.59 MB / 0.85 GB, free: 8.914 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005954/0.4129, allocations: 3.22 MB / 0.8531 GB, free: 5.684 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006709/0.4196, allocations: 3.661 MB / 0.8567 GB, free: 2.012 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002461/0.4221, allocations: 0.6484 MB / 0.8573 GB, free: 1.363 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005227/0.4273, allocations: 1.767 MB / 0.859 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004673/0.432, allocations: 2.542 MB / 0.8615 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006525/0.4386, allocations: 2.898 MB / 0.8643 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.4524, allocations: 10.14 MB / 0.8742 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.4525, allocations: 0 / 0.8742 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4525, allocations: 0 / 0.8742 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004268/0.4529, allocations: 0 / 0.8742 GB, free: 15.96 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01464/0.4676, allocations: 5.002 MB / 0.8791 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.4676, allocations: 12.03 kB / 0.8791 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006246/0.4739, allocations: 0.9434 MB / 0.8801 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005895/0.4798, allocations: 2.862 MB / 0.8829 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003218/0.4802, allocations: 349.7 kB / 0.8832 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001584/0.4818, allocations: 468.2 kB / 0.8836 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01799/0.4998, allocations: 7.663 MB / 0.8911 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002331/0.5, allocations: 31.77 kB / 0.8912 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00139/0.5015, allocations: 200 kB / 0.8913 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004261/0.5019, allocations: 309 kB / 0.8916 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/0.5141, allocations: 5.714 MB / 0.8972 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5314/1.045, allocations: 35.09 MB / 0.9315 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002849/1.048, allocations: 2.161 MB / 0.9336 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/1.05, allocations: 1.255 MB / 0.9348 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.741e-05/1.05, allocations: 18.28 kB / 0.9348 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/1.05, allocations: 46 kB / 0.9349 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.547e-06/1.05, allocations: 0 / 0.9349 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01493/1.065, allocations: 7.085 MB / 0.9418 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/1.065, allocations: 67.17 kB / 0.9419 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00321/1.069, allocations: 1.491 MB / 0.9433 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001799/1.069, allocations: 46.78 kB / 0.9434 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002163/1.071, allocations: 2.003 MB / 0.9453 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000775/1.072, allocations: 491.2 kB / 0.9458 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008123/1.073, allocations: 351 kB / 0.9461 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.793e-05/1.073, allocations: 305.5 kB / 0.9464 GB, free: 103.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/1.074, allocations: 0.9109 MB / 0.9473 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00276/1.077, allocations: 1.6 MB / 0.9489 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005081/1.082, allocations: 2.732 MB / 0.9515 GB, free: 99.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.53e-05/1.082, allocations: 5.594 kB / 0.9515 GB, free: 99.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.008588/1.091, allocations: 3.536 MB / 0.955 GB, free: 98.47 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.571e-05/1.091, allocations: 15.78 kB / 0.955 GB, free: 98.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-05/1.091, allocations: 23 kB / 0.955 GB, free: 98.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002721/1.094, allocations: 0.9029 MB / 0.9559 GB, free: 98.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/1.095, allocations: 351.9 kB / 0.9563 GB, free: 98.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01933/1.115, allocations: 23.11 MB / 0.9788 GB, free: 78.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/1.117, allocations: 104.2 kB / 0.9789 GB, free: 78.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/1.117, allocations: 90.69 kB / 0.979 GB, free: 78.21 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.003046/1.12, allocations: 1.613 MB / 0.9806 GB, free: 77.33 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004956/1.12, allocations: 200.2 kB / 0.9808 GB, free: 77.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00474/1.125, allocations: 2.988 MB / 0.9837 GB, free: 75.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/1.125, allocations: 19.66 kB / 0.9837 GB, free: 75.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.781e-05/1.125, allocations: 8.438 kB / 0.9837 GB, free: 75.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/1.125, allocations: 7.969 kB / 0.9837 GB, free: 75.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/1.136, allocations: 7.346 MB / 0.9909 GB, free: 70.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.136, allocations: 12 kB / 0.9909 GB, free: 70.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006973/1.137, allocations: 179.4 kB / 0.9911 GB, free: 70.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/1.139, allocations: 0.8241 MB / 0.9919 GB, free: 70.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/1.139, allocations: 28.19 kB / 0.9919 GB, free: 70.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01538/1.155, allocations: 21.95 MB / 1.013 GB, free: 49.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.155, allocations: 3.781 kB / 1.013 GB, free: 49.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005182/1.16, allocations: 3.023 MB / 1.016 GB, free: 47.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.161, allocations: 458.5 kB / 1.017 GB, free: 47.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/1.162, allocations: 31.92 kB / 1.017 GB, free: 47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007446/1.162, allocations: 75.86 kB / 1.017 GB, free: 46.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004031/1.163, allocations: 120.7 kB / 1.017 GB, free: 46.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/1.163, allocations: 36 kB / 1.017 GB, free: 46.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001231/1.164, allocations: 0.9873 MB / 1.018 GB, free: 45.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.164, allocations: 0 / 1.018 GB, free: 45.76 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003453/1.167, allocations: 0.7852 MB / 1.019 GB, free: 44.98 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002549/1.168, allocations: 139.1 kB / 1.019 GB, free: 44.83 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005909/1.174, allocations: 4.65 MB / 1.023 GB, free: 40.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.174, allocations: 0 / 1.023 GB, free: 40.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002849/1.177, allocations: 2.735 MB / 1.026 GB, free: 37.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/1.18, allocations: 0.7214 MB / 1.027 GB, free: 36.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/1.192, allocations: 9.183 MB / 1.036 GB, free: 27.24 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002667/1.195, allocations: 3.112 MB / 1.039 GB, free: 24.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0015/1.197, allocations: 450 kB / 1.039 GB, free: 23.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/1.197, allocations: 119.4 kB / 1.039 GB, free: 23.54 MB / 0.7325 GB Notification: Performance of SimCode: time 7.52e-07/1.197, allocations: 0 / 1.039 GB, free: 23.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.05658/1.254, allocations: 36 MB / 1.074 GB, free: 3.992 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)