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.001318/0.001318, allocations: 115.9 kB / 16.38 MB, free: 6.465 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.001309/0.001309, allocations: 193.8 kB / 17.31 MB, free: 5.781 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.34/1.34, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.726/1.726, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001432/0.001432, allocations: 71.89 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2035, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.3543/0.5579, allocations: 32.5 MB / 0.8165 GB, free: 30.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.5735, allocations: 10.36 MB / 0.8267 GB, free: 23.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003151/0.5767, allocations: 149.6 kB / 0.8268 GB, free: 23.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.008933/0.5857, allocations: 3.71 MB / 0.8304 GB, free: 21.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0054/0.5911, allocations: 1.852 MB / 0.8322 GB, free: 20.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005775/0.5969, allocations: 2.137 MB / 0.8343 GB, free: 18.88 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0099/0.6068, allocations: 7.327 MB / 0.8415 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01537/0.6222, allocations: 9.478 MB / 0.8507 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007114/0.6294, allocations: 3.173 MB / 0.8538 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006884/0.6363, allocations: 3.484 MB / 0.8572 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002687/0.6391, allocations: 0.6459 MB / 0.8579 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00614/0.6452, allocations: 1.767 MB / 0.8596 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005205/0.6505, allocations: 2.553 MB / 0.8621 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007867/0.6584, allocations: 2.893 MB / 0.8649 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.6728, allocations: 10.11 MB / 0.8748 GB, free: 13.86 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.6728, allocations: 0 / 0.8748 GB, free: 13.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6729, allocations: 0 / 0.8748 GB, free: 13.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003591/0.6732, allocations: 1.219 kB / 0.8748 GB, free: 13.86 MB / 0.67 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.01586/0.6891, allocations: 5.003 MB / 0.8797 GB, free: 9.223 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.6892, allocations: 8.031 kB / 0.8797 GB, free: 9.215 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006849/0.696, allocations: 0.9551 MB / 0.8806 GB, free: 8.254 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006884/0.7029, allocations: 3.042 MB / 0.8836 GB, free: 5.148 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003769/0.7034, allocations: 345.7 kB / 0.8839 GB, free: 4.809 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002083/0.7055, allocations: 476.2 kB / 0.8844 GB, free: 4.344 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/0.7254, allocations: 7.655 MB / 0.8918 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003946/0.7259, allocations: 31.72 kB / 0.8919 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002163/0.7281, allocations: 208 kB / 0.8921 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004213/0.7285, allocations: 308.9 kB / 0.8924 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01277/0.7413, allocations: 5.71 MB / 0.8979 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03976/0.7811, allocations: 34.82 MB / 0.9319 GB, free: 44 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002812/0.784, allocations: 2.165 MB / 0.9341 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.7856, allocations: 1.257 MB / 0.9353 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.467e-05/0.7857, allocations: 13.31 kB / 0.9353 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.7857, allocations: 51.86 kB / 0.9353 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.135e-06/0.7857, allocations: 0 / 0.9353 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01376/0.7995, allocations: 7.088 MB / 0.9423 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.7996, allocations: 72.59 kB / 0.9423 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.8015, allocations: 1.484 MB / 0.9438 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.8017, allocations: 49.7 kB / 0.9438 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.8029, allocations: 2.008 MB / 0.9458 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004476/0.8034, allocations: 489 kB / 0.9463 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005013/0.8039, allocations: 351.1 kB / 0.9466 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.804, allocations: 305.1 kB / 0.9469 GB, free: 236 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.8053, allocations: 0.9096 MB / 0.9478 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.807, allocations: 1.589 MB / 0.9493 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/0.8101, allocations: 2.733 MB / 0.952 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.8101, allocations: 8 kB / 0.952 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005828/0.816, allocations: 3.534 MB / 0.9555 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.816, allocations: 12 kB / 0.9555 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.8161, allocations: 24 kB / 0.9555 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002641/0.8187, allocations: 0.9043 MB / 0.9564 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.82, allocations: 355.3 kB / 0.9567 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/0.8413, allocations: 23.1 MB / 0.9793 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.843, allocations: 99.95 kB / 0.9794 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/0.8432, allocations: 84 kB / 0.9794 GB, free: 12.5 MB / 0.7794 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.002736/0.8459, allocations: 1.613 MB / 0.981 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004583/0.8464, allocations: 205.5 kB / 0.9812 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005183/0.8516, allocations: 2.99 MB / 0.9841 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.8516, allocations: 16 kB / 0.9842 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/0.8517, allocations: 12 kB / 0.9842 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.8517, allocations: 7.922 kB / 0.9842 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.8639, allocations: 7.336 MB / 0.9913 GB, free: 24 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.8639, allocations: 4 kB / 0.9913 GB, free: 20 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000854/0.8648, allocations: 175.7 kB / 0.9915 GB, free: 15.85 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002471/0.8672, allocations: 0.8339 MB / 0.9923 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.8674, allocations: 24 kB / 0.9923 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01993/0.8873, allocations: 21.94 MB / 1.014 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.8874, allocations: 11.94 kB / 1.014 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005186/0.8926, allocations: 3.025 MB / 1.017 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.8937, allocations: 454.5 kB / 1.017 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/0.8941, allocations: 43.86 kB / 1.017 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009346/0.895, allocations: 67.92 kB / 1.017 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003334/0.8954, allocations: 124.7 kB / 1.017 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.963e-05/0.8955, allocations: 39.98 kB / 1.017 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00133/0.8968, allocations: 0.9717 MB / 1.018 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8968, allocations: 0 / 1.018 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003165/0.9, allocations: 0.7891 MB / 1.019 GB, free: 1.66 MB / 0.8106 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.0003172/0.9003, allocations: 141.1 kB / 1.019 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006121/0.9064, allocations: 4.043 MB / 1.023 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.9065, allocations: 0 / 1.023 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004014/0.9105, allocations: 2.729 MB / 1.026 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003647/0.9142, allocations: 0.7265 MB / 1.027 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.9289, allocations: 7.745 MB / 1.034 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004504/0.9334, allocations: 3.175 MB / 1.037 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005397/0.934, allocations: 123.4 kB / 1.037 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of SimCode: time 9.81e-07/0.934, allocations: 0 / 1.037 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.5655/1.499, allocations: 321.5 MB / 1.351 GB, free: 105.7 MB / 0.92 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)