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.001291/0.001291, allocations: 102.8 kB / 16.93 MB, free: 5.785 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.001881/0.001881, allocations: 191.6 kB / 17.87 MB, free: 5.16 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.382/1.382, allocations: 222.9 MB / 241.6 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7774/0.7774, allocations: 122.9 MB / 414.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 63.91 kB / 0.4918 GB, free: 7.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3675, allocations: 77.92 MB / 0.5679 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007237/0.3748, allocations: 6.13 MB / 0.5738 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005009/0.3799, allocations: 3.172 MB / 0.5769 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007995/0.3807, allocations: 32.66 kB / 0.577 GB, free: 26.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.3831, allocations: 0.9303 MB / 0.5779 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.3846, allocations: 476.7 kB / 0.5783 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.3861, allocations: 0.4918 MB / 0.5788 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00153/0.3876, allocations: 1.102 MB / 0.5799 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009856/0.3886, allocations: 0.6451 MB / 0.5805 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007284/0.3894, allocations: 434.2 kB / 0.5809 GB, free: 24.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006208/0.39, allocations: 471.6 kB / 0.5814 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.3901, allocations: 58.25 kB / 0.5814 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.3913, allocations: 493.2 kB / 0.5819 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.3917, allocations: 286.3 kB / 0.5822 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004114/0.3921, allocations: 400.1 kB / 0.5826 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.3933, allocations: 1.167 MB / 0.5837 GB, free: 23.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3934, allocations: 1.344 kB / 0.5837 GB, free: 23.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3934, allocations: 0 / 0.5837 GB, free: 23.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.3934, allocations: 3.062 kB / 0.5837 GB, free: 23.02 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.001607/0.395, allocations: 1.067 MB / 0.5847 GB, free: 22.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.395, allocations: 10.78 kB / 0.5848 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.3966, allocations: 214.8 kB / 0.585 GB, free: 22.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007016/0.3973, allocations: 0.54 MB / 0.5855 GB, free: 21.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.3973, allocations: 46.42 kB / 0.5855 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.3974, allocations: 74.73 kB / 0.5856 GB, free: 21.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.3987, allocations: 1.028 MB / 0.5866 GB, free: 20.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.3987, allocations: 10.61 kB / 0.5866 GB, free: 20.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.688e-05/0.3988, allocations: 28.23 kB / 0.5866 GB, free: 20.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.999e-05/0.3989, allocations: 67.56 kB / 0.5867 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009327/0.3999, allocations: 0.6922 MB / 0.5874 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00394/0.4038, allocations: 5.755 MB / 0.593 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000786/0.4046, allocations: 0.6038 MB / 0.5936 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007229/0.4054, allocations: 423.2 kB / 0.594 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.4054, allocations: 8.5 kB / 0.594 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.4054, allocations: 36.69 kB / 0.594 GB, free: 14.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.425e-06/0.4054, allocations: 0 / 0.594 GB, free: 14.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.00417/0.4096, allocations: 2.059 MB / 0.5961 GB, free: 13.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.4097, allocations: 56.75 kB / 0.5961 GB, free: 12.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.4101, allocations: 458.7 kB / 0.5965 GB, free: 12.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.4102, allocations: 35.08 kB / 0.5966 GB, free: 12.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.4103, allocations: 389.4 kB / 0.5969 GB, free: 12.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.815e-05/0.4104, allocations: 157.3 kB / 0.5971 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.4106, allocations: 110.5 kB / 0.5972 GB, free: 12.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.4107, allocations: 362.7 kB / 0.5975 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.411, allocations: 249.2 kB / 0.5978 GB, free: 11.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.4113, allocations: 461 kB / 0.5982 GB, free: 10.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006408/0.4119, allocations: 0.7441 MB / 0.599 GB, free: 10.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.412, allocations: 0 / 0.599 GB, free: 10.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001444/0.4134, allocations: 1.073 MB / 0.6 GB, free: 9.004 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4134, allocations: 8 kB / 0.6 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4135, allocations: 8 kB / 0.6 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000904/0.4144, allocations: 339.7 kB / 0.6003 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.4146, allocations: 95.88 kB / 0.6004 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004997/0.4196, allocations: 7.512 MB / 0.6078 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.4202, allocations: 35.97 kB / 0.6078 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.4202, allocations: 24 kB / 0.6078 GB, free: 424 kB / 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.0003226/0.4205, allocations: 253.8 kB / 0.6081 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.4206, allocations: 59.28 kB / 0.6081 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.4222, allocations: 0.9156 MB / 0.609 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4222, allocations: 4 kB / 0.609 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.4222, allocations: 7.984 kB / 0.609 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4223, allocations: 0 / 0.609 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.4248, allocations: 1.713 MB / 0.6107 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4248, allocations: 0 / 0.6107 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.425, allocations: 43.91 kB / 0.6107 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009077/0.4259, allocations: 331.3 kB / 0.6111 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.4259, allocations: 8 kB / 0.6111 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006567/0.4325, allocations: 7.509 MB / 0.6184 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4325, allocations: 0 / 0.6184 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.4342, allocations: 1.007 MB / 0.6194 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.4345, allocations: 180.5 kB / 0.6196 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.4346, allocations: 12 kB / 0.6196 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.4349, allocations: 23.97 kB / 0.6196 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.4351, allocations: 36.12 kB / 0.6196 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.4351, allocations: 16 kB / 0.6196 GB, free: 3.551 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003453/0.4354, allocations: 310.9 kB / 0.6199 GB, free: 3.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4354, allocations: 0 / 0.6199 GB, free: 3.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008631/0.4363, allocations: 199.9 kB / 0.6201 GB, free: 3.055 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.000146/0.4365, allocations: 119.2 kB / 0.6202 GB, free: 2.926 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001871/0.4383, allocations: 1.25 MB / 0.6215 GB, free: 1.625 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4384, allocations: 3.938 kB / 0.6215 GB, free: 1.621 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.4395, allocations: 0.8666 MB / 0.6223 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.4408, allocations: 202.3 kB / 0.6225 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.4432, allocations: 1.304 MB / 0.6238 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/0.4438, allocations: 0.9921 MB / 0.6247 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.4439, allocations: 35.44 kB / 0.6248 GB, free: 14.11 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.444, allocations: 4 kB / 0.6248 GB, free: 14.1 MB / 478.1 MB Notification: Performance of Templates: time 0.02211/0.4661, allocations: 18.67 MB / 0.643 GB, free: 11.48 MB / 494.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)