Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.26/2.26, allocations: 251.1 MB / 266.7 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003176/0.003176, allocations: 182.2 kB / 326.2 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.347/2.347, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009716/0.0009713, allocations: 102.7 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006411/0.0006414, allocations: 11.03 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2069, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9079/1.115, allocations: 164.6 MB / 1.06 GB, free: 64.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/1.115, allocations: 97.59 kB / 1.06 GB, free: 64.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7531/1.868, allocations: 200.2 MB / 1.256 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.685e-06/1.868, allocations: 0 / 1.256 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005005/1.869, allocations: 135.9 kB / 1.256 GB, free: 4.262 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02315/1.892, allocations: 4.745 MB / 1.261 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.892, allocations: 12.03 kB / 1.261 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/1.903, allocations: 1.056 MB / 1.262 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/1.917, allocations: 3.404 MB / 1.265 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006748/1.918, allocations: 411.5 kB / 1.265 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003173/1.921, allocations: 0.5392 MB / 1.266 GB, free: 9.965 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03338/1.954, allocations: 8.637 MB / 1.274 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004215/1.955, allocations: 27.97 kB / 1.274 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002688/1.957, allocations: 247.9 kB / 1.275 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006202/1.958, allocations: 314.7 kB / 1.275 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02324/1.981, allocations: 6.148 MB / 1.281 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07584/2.057, allocations: 40.12 MB / 1.32 GB, free: 14.32 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007406/2.065, allocations: 3.091 MB / 1.323 GB, free: 11.09 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005437/2.07, allocations: 1.971 MB / 1.325 GB, free: 9.129 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/2.071, allocations: 21.98 kB / 1.325 GB, free: 9.109 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/2.071, allocations: 60.5 kB / 1.325 GB, free: 9.039 MB / 0.823 GB Notification: Performance of pre-optimization done (n=179): time 5.45e-06/2.071, allocations: 0 / 1.325 GB, free: 9.039 MB / 0.823 GB Notification: Performance of matching and sorting (n=182): time 0.05901/2.13, allocations: 9.872 MB / 1.335 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/2.13, allocations: 73.41 kB / 1.335 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004466/2.134, allocations: 1.507 MB / 1.336 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005472/2.135, allocations: 57.7 kB / 1.336 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.003101/2.138, allocations: 2.245 MB / 1.339 GB, free: 11.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001519/2.14, allocations: 0.6316 MB / 1.339 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/2.14, allocations: 40 kB / 1.339 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003685/2.14, allocations: 398.3 kB / 1.34 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004257/2.145, allocations: 1.164 MB / 1.341 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005488/2.15, allocations: 1.859 MB / 1.343 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005554/2.156, allocations: 1.505 MB / 1.344 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-05/2.156, allocations: 11.94 kB / 1.344 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01938/2.175, allocations: 4.538 MB / 1.349 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/2.175, allocations: 16 kB / 1.349 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.565e-05/2.175, allocations: 20 kB / 1.349 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009512/2.185, allocations: 1.584 MB / 1.35 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003342/2.188, allocations: 343.4 kB / 1.35 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05204/2.24, allocations: 17.06 MB / 1.367 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003886/2.244, allocations: 131.9 kB / 1.367 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005573/2.245, allocations: 95.98 kB / 1.367 GB, free: 12.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007562/2.253, allocations: 1.887 MB / 1.369 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/2.254, allocations: 225.3 kB / 1.369 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01717/2.271, allocations: 4.09 MB / 1.373 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.263e-05/2.271, allocations: 20 kB / 1.373 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-05/2.271, allocations: 16 kB / 1.373 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.496e-05/2.271, allocations: 7.969 kB / 1.373 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03932/2.31, allocations: 9.408 MB / 1.383 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-05/2.311, allocations: 4 kB / 1.383 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/2.313, allocations: 183.7 kB / 1.383 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008651/2.322, allocations: 1.346 MB / 1.384 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004992/2.322, allocations: 36 kB / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7769/3.099, allocations: 15.93 MB / 1.4 GB, free: 210 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/3.099, allocations: 9.844 kB / 1.4 GB, free: 210 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/3.111, allocations: 4.05 MB / 1.404 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002157/3.113, allocations: 0.5249 MB / 1.404 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005671/3.114, allocations: 37.8 kB / 1.404 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/3.115, allocations: 87.83 kB / 1.404 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007015/3.116, allocations: 159.7 kB / 1.404 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/3.116, allocations: 49.41 kB / 1.404 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002439/3.119, allocations: 0.9889 MB / 1.405 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.21e-07/3.119, allocations: 0.7812 kB / 1.405 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005796/3.125, allocations: 1.03 MB / 1.406 GB, free: 209.3 MB / 0.8855 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006031/3.125, allocations: 156.8 kB / 1.407 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01239/3.138, allocations: 4.265 MB / 1.411 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/3.138, allocations: 0.9062 kB / 1.411 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007406/3.145, allocations: 2.669 MB / 1.413 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005978/3.151, allocations: 0.7059 MB / 1.414 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02402/3.175, allocations: 10.51 MB / 1.424 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01015/3.185, allocations: 3.572 MB / 1.428 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002845/3.188, allocations: 475.7 kB / 1.428 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000625/3.189, allocations: 116.1 kB / 1.428 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of SimCode: time 9.52e-07/3.189, allocations: 0 / 1.428 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.114/3.303, allocations: 41.16 MB / 1.469 GB, free: 201.4 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)