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.001275/0.001276, allocations: 112.5 kB / 16.36 MB, free: 5.945 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.001215/0.001215, allocations: 197.1 kB / 17.3 MB, free: 5.559 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.36/1.36, 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.956/1.956, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.00216/0.002161, allocations: 67.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2577, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.431/0.6888, allocations: 32.48 MB / 0.8165 GB, free: 30.47 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01829/0.7072, allocations: 10.37 MB / 0.8266 GB, free: 23.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004489/0.7117, allocations: 152.2 kB / 0.8268 GB, free: 23.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009472/0.7213, allocations: 3.703 MB / 0.8304 GB, free: 21.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007459/0.7287, allocations: 1.86 MB / 0.8322 GB, free: 20.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007078/0.7358, allocations: 2.134 MB / 0.8343 GB, free: 18.8 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01098/0.7468, allocations: 7.327 MB / 0.8415 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01636/0.7632, allocations: 9.475 MB / 0.8507 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008429/0.7717, allocations: 3.177 MB / 0.8538 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01041/0.7821, allocations: 3.481 MB / 0.8572 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003137/0.7853, allocations: 0.6487 MB / 0.8579 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006734/0.7921, allocations: 1.768 MB / 0.8596 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005236/0.7973, allocations: 2.547 MB / 0.8621 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006429/0.8038, allocations: 2.901 MB / 0.8649 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.8167, allocations: 10.1 MB / 0.8748 GB, free: 13.8 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.8167, allocations: 0 / 0.8748 GB, free: 13.8 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8167, allocations: 0 / 0.8748 GB, free: 13.8 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002759/0.817, allocations: 1.375 kB / 0.8748 GB, free: 13.8 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.01306/0.8301, allocations: 5.009 MB / 0.8797 GB, free: 9.266 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.8301, allocations: 8.031 kB / 0.8797 GB, free: 9.258 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005901/0.8361, allocations: 0.9473 MB / 0.8806 GB, free: 8.305 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007009/0.8431, allocations: 2.866 MB / 0.8834 GB, free: 5.375 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/0.8434, allocations: 353.7 kB / 0.8837 GB, free: 5.027 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/0.8446, allocations: 456.2 kB / 0.8842 GB, free: 4.582 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01571/0.8604, allocations: 7.667 MB / 0.8917 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/0.8605, allocations: 27.78 kB / 0.8917 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007059/0.8613, allocations: 203.9 kB / 0.8919 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000352/0.8616, allocations: 313 kB / 0.8922 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.8727, allocations: 5.706 MB / 0.8977 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03839/0.9111, allocations: 34.83 MB / 0.9318 GB, free: 276 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/0.914, allocations: 2.156 MB / 0.9339 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.9156, allocations: 1.261 MB / 0.9351 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.098e-05/0.9157, allocations: 17.31 kB / 0.9351 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.9157, allocations: 43.88 kB / 0.9352 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.677e-06/0.9157, allocations: 0 / 0.9352 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01381/0.9295, allocations: 7.096 MB / 0.9421 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.9296, allocations: 64.72 kB / 0.9421 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.9317, allocations: 1.484 MB / 0.9436 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001797/0.9319, allocations: 49.7 kB / 0.9436 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.9334, allocations: 2.004 MB / 0.9456 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005019/0.9339, allocations: 497 kB / 0.9461 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005256/0.9344, allocations: 351.1 kB / 0.9464 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.9346, allocations: 305.1 kB / 0.9467 GB, free: 472 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.9358, allocations: 0.9096 MB / 0.9476 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.9376, allocations: 1.589 MB / 0.9491 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/0.9408, allocations: 2.737 MB / 0.9518 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.9409, allocations: 8 kB / 0.9518 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00605/0.9469, allocations: 3.53 MB / 0.9553 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.947, allocations: 16 kB / 0.9553 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.947, allocations: 20 kB / 0.9553 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002531/0.9495, allocations: 0.9042 MB / 0.9562 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.9507, allocations: 347.4 kB / 0.9565 GB, free: 5.703 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02061/0.9713, allocations: 23.11 MB / 0.9791 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.9731, allocations: 108 kB / 0.9792 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.9732, allocations: 84 kB / 0.9793 GB, free: 12.73 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.002715/0.976, allocations: 1.609 MB / 0.9808 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003651/0.9763, allocations: 209.5 kB / 0.981 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/0.9815, allocations: 2.982 MB / 0.9839 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.9815, allocations: 20 kB / 0.984 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/0.9815, allocations: 11.94 kB / 0.984 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.9816, allocations: 7.969 kB / 0.984 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/0.9941, allocations: 7.341 MB / 0.9912 GB, free: 256 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.9942, allocations: 4 kB / 0.9912 GB, free: 252 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/0.9949, allocations: 171.7 kB / 0.9913 GB, free: 80 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/0.9973, allocations: 0.8258 MB / 0.9921 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.9974, allocations: 31.94 kB / 0.9922 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0192/1.017, allocations: 21.95 MB / 1.014 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.017, allocations: 7.938 kB / 1.014 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/1.022, allocations: 3.021 MB / 1.017 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.023, allocations: 462.5 kB / 1.017 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/1.023, allocations: 32.06 kB / 1.017 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000778/1.024, allocations: 71.91 kB / 1.017 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003982/1.025, allocations: 128.7 kB / 1.017 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.051e-05/1.025, allocations: 36 kB / 1.017 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001256/1.026, allocations: 0.9756 MB / 1.018 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/1.026, allocations: 0 / 1.018 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002801/1.029, allocations: 0.7891 MB / 1.019 GB, free: 1.887 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.0002594/1.029, allocations: 145.1 kB / 1.019 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005634/1.035, allocations: 4.028 MB / 1.023 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.035, allocations: 3.938 kB / 1.023 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003522/1.038, allocations: 2.736 MB / 1.026 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003044/1.041, allocations: 0.7179 MB / 1.026 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/1.054, allocations: 7.114 MB / 1.033 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003435/1.057, allocations: 3.105 MB / 1.036 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001416/1.059, allocations: 454 kB / 1.037 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/1.059, allocations: 119.4 kB / 1.037 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of SimCode: time 9.42e-07/1.059, allocations: 4 kB / 1.037 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of Templates: time 0.05787/1.117, allocations: 35.71 MB / 1.072 GB, free: 11.8 MB / 0.8731 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)