Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.001642/0.001643, allocations: 108.3 kB / 17.02 MB, free: 5.699 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.001887/0.001887, allocations: 196.1 kB / 17.97 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7087/0.7087, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001895, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3683, allocations: 76.15 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006765/0.3751, allocations: 6.131 MB / 0.5636 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004631/0.3798, allocations: 3.182 MB / 0.5667 GB, free: 30.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005311/0.3804, allocations: 29.56 kB / 0.5667 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.3826, allocations: 0.9306 MB / 0.5676 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.3838, allocations: 475 kB / 0.5681 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.3851, allocations: 0.4959 MB / 0.5685 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.3863, allocations: 1.1 MB / 0.5696 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00086/0.3872, allocations: 0.636 MB / 0.5702 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006234/0.3878, allocations: 437.9 kB / 0.5707 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005562/0.3884, allocations: 469.4 kB / 0.5711 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.905e-05/0.3885, allocations: 59.06 kB / 0.5712 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000904/0.3894, allocations: 494.5 kB / 0.5716 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.3897, allocations: 288.7 kB / 0.5719 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.39, allocations: 400.2 kB / 0.5723 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.3914, allocations: 1.18 MB / 0.5734 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3915, allocations: 1.125 kB / 0.5734 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.3915, allocations: 1.375 kB / 0.5734 GB, free: 27.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.31e-05/0.3915, allocations: 0 / 0.5734 GB, free: 27.29 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001611/0.3931, allocations: 1.063 MB / 0.5745 GB, free: 26.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3932, allocations: 10.06 kB / 0.5745 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.3947, allocations: 216.5 kB / 0.5747 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009901/0.3957, allocations: 0.5973 MB / 0.5753 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.3958, allocations: 47.08 kB / 0.5753 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.931e-05/0.3959, allocations: 67.05 kB / 0.5754 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.3973, allocations: 1.038 MB / 0.5764 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.3973, allocations: 8.797 kB / 0.5764 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.665e-05/0.3974, allocations: 29.02 kB / 0.5764 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.3975, allocations: 70.11 kB / 0.5765 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.3986, allocations: 0.6955 MB / 0.5772 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004305/0.4029, allocations: 5.731 MB / 0.5828 GB, free: 20.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/0.4037, allocations: 0.6016 MB / 0.5834 GB, free: 19.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007633/0.4045, allocations: 427 kB / 0.5838 GB, free: 19.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.4045, allocations: 9.875 kB / 0.5838 GB, free: 19.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.4046, allocations: 31.97 kB / 0.5838 GB, free: 19.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.244e-06/0.4046, allocations: 0 / 0.5838 GB, free: 19.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004299/0.4089, allocations: 2.06 MB / 0.5858 GB, free: 18.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.4089, allocations: 56.09 kB / 0.5859 GB, free: 18.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004807/0.4094, allocations: 460.1 kB / 0.5863 GB, free: 18.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.4094, allocations: 35.95 kB / 0.5864 GB, free: 18.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.4096, allocations: 385.3 kB / 0.5867 GB, free: 17.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.4098, allocations: 155.1 kB / 0.5869 GB, free: 17.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.4099, allocations: 113.2 kB / 0.587 GB, free: 17.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.835e-05/0.41, allocations: 364.6 kB / 0.5873 GB, free: 17.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.4104, allocations: 248.8 kB / 0.5876 GB, free: 17.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.4108, allocations: 460.1 kB / 0.588 GB, free: 16.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007796/0.4115, allocations: 0.7484 MB / 0.5887 GB, free: 16.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4116, allocations: 2.625 kB / 0.5887 GB, free: 16.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00171/0.4133, allocations: 1.07 MB / 0.5898 GB, free: 15.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.4133, allocations: 7.781 kB / 0.5898 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.4133, allocations: 6.969 kB / 0.5898 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009718/0.4143, allocations: 324.6 kB / 0.5901 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.4146, allocations: 100.4 kB / 0.5902 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005452/0.4201, allocations: 7.527 MB / 0.5975 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004943/0.4206, allocations: 26.03 kB / 0.5976 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.526e-05/0.4206, allocations: 29.64 kB / 0.5976 GB, free: 8.738 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003401/0.421, allocations: 243.7 kB / 0.5978 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.29e-05/0.4211, allocations: 65.41 kB / 0.5979 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.4227, allocations: 0.9167 MB / 0.5988 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4227, allocations: 5.062 kB / 0.5988 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4227, allocations: 3.344 kB / 0.5988 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4227, allocations: 1.156 kB / 0.5988 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.4252, allocations: 1.717 MB / 0.6005 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4252, allocations: 1.312 kB / 0.6005 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.4254, allocations: 42.12 kB / 0.6005 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008642/0.4263, allocations: 328.5 kB / 0.6008 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.4263, allocations: 8 kB / 0.6008 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00554/0.4319, allocations: 7.509 MB / 0.6082 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4319, allocations: 0 / 0.6082 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.4336, allocations: 1.023 MB / 0.6092 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.434, allocations: 172.3 kB / 0.6093 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.434, allocations: 8 kB / 0.6093 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.4343, allocations: 23.97 kB / 0.6094 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.4344, allocations: 39.89 kB / 0.6094 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.4345, allocations: 12 kB / 0.6094 GB, free: 13.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.4348, allocations: 314.9 kB / 0.6097 GB, free: 12.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4348, allocations: 0 / 0.6097 GB, free: 12.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008426/0.4357, allocations: 199.9 kB / 0.6099 GB, free: 12.62 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001439/0.4358, allocations: 115.2 kB / 0.61 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.4376, allocations: 1.203 MB / 0.6112 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4376, allocations: 3.938 kB / 0.6112 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.4388, allocations: 0.8504 MB / 0.612 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009385/0.4397, allocations: 208.4 kB / 0.6122 GB, free: 10.15 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.442, allocations: 1.228 MB / 0.6134 GB, free: 8.871 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/0.4427, allocations: 0.9921 MB / 0.6144 GB, free: 7.852 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003466/0.443, allocations: 105.3 kB / 0.6145 GB, free: 7.746 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.959e-05/0.4431, allocations: 35.44 kB / 0.6145 GB, free: 7.711 MB / 462.1 MB Notification: Performance of SimCode: time 1.283e-06/0.4431, allocations: 7.938 kB / 0.6145 GB, free: 7.703 MB / 462.1 MB Notification: Performance of Templates: time 0.01728/0.4604, allocations: 9.966 MB / 0.6243 GB, free: 13.86 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)