Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.00114, allocations: 104 kB / 16.52 MB, free: 6.27 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.001104/0.001104, allocations: 196 kB / 17.44 MB, free: 5.887 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.305/1.305, allocations: 222.9 MB / 241.1 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7152/0.7152, allocations: 115.3 MB / 406.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 59.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3364, allocations: 76.16 MB / 0.5564 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006612/0.343, allocations: 6.796 MB / 0.563 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004172/0.3472, allocations: 3.075 MB / 0.566 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004075/0.3477, allocations: 31.09 kB / 0.566 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.3496, allocations: 0.8889 MB / 0.5669 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.3507, allocations: 483.7 kB / 0.5674 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009772/0.3517, allocations: 408 kB / 0.5678 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.3531, allocations: 1.589 MB / 0.5693 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008895/0.354, allocations: 0.6445 MB / 0.5699 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005458/0.3546, allocations: 422.5 kB / 0.5703 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006294/0.3552, allocations: 0.5296 MB / 0.5709 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.571e-05/0.3553, allocations: 46.34 kB / 0.5709 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008452/0.3562, allocations: 454.3 kB / 0.5713 GB, free: 26.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.3565, allocations: 296 kB / 0.5716 GB, free: 26.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.3569, allocations: 428.8 kB / 0.572 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.358, allocations: 0.9312 MB / 0.5729 GB, free: 26.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.358, allocations: 3.938 kB / 0.5729 GB, free: 26.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.358, allocations: 0 / 0.5729 GB, free: 26.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.358, allocations: 1.25 kB / 0.5729 GB, free: 26.13 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001871/0.3599, allocations: 1.162 MB / 0.5741 GB, free: 25.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3599, allocations: 14.12 kB / 0.5741 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.3615, allocations: 232.4 kB / 0.5743 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007992/0.3623, allocations: 0.5639 MB / 0.5749 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.3623, allocations: 51.89 kB / 0.5749 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.3625, allocations: 61.61 kB / 0.575 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.364, allocations: 1.083 MB / 0.576 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.364, allocations: 7.969 kB / 0.576 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/0.3641, allocations: 32.8 kB / 0.5761 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.3642, allocations: 88.08 kB / 0.5762 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.3653, allocations: 0.7488 MB / 0.5769 GB, free: 23.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0044/0.3697, allocations: 5.898 MB / 0.5826 GB, free: 18.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009421/0.3707, allocations: 0.5591 MB / 0.5832 GB, free: 18.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.3711, allocations: 329.3 kB / 0.5835 GB, free: 18.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.3712, allocations: 4.875 kB / 0.5835 GB, free: 18.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3712, allocations: 38.84 kB / 0.5836 GB, free: 18.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.454e-06/0.3712, allocations: 0 / 0.5836 GB, free: 18.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003625/0.3748, allocations: 1.991 MB / 0.5855 GB, free: 17.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.3749, allocations: 56.06 kB / 0.5855 GB, free: 17.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006149/0.3755, allocations: 0.561 MB / 0.5861 GB, free: 17.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3755, allocations: 40.33 kB / 0.5861 GB, free: 17.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.3757, allocations: 418.7 kB / 0.5865 GB, free: 16.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.3758, allocations: 171.2 kB / 0.5867 GB, free: 16.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.376, allocations: 124 kB / 0.5868 GB, free: 16.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.3761, allocations: 383.6 kB / 0.5872 GB, free: 16.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.3765, allocations: 274.1 kB / 0.5874 GB, free: 16.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004757/0.377, allocations: 498.9 kB / 0.5879 GB, free: 15.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000871/0.3779, allocations: 0.8064 MB / 0.5887 GB, free: 15.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3779, allocations: 2.812 kB / 0.5887 GB, free: 15.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001714/0.3796, allocations: 1.093 MB / 0.5898 GB, free: 14.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3797, allocations: 7.344 kB / 0.5898 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3797, allocations: 7.438 kB / 0.5898 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007962/0.3805, allocations: 278.1 kB / 0.5901 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.3809, allocations: 124.9 kB / 0.5902 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004643/0.3856, allocations: 6.594 MB / 0.5966 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/0.3862, allocations: 39.06 kB / 0.5967 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.3862, allocations: 30.75 kB / 0.5967 GB, free: 8.41 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0003458/0.3866, allocations: 258.8 kB / 0.5969 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.3867, allocations: 72.53 kB / 0.597 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.3881, allocations: 0.8894 MB / 0.5979 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3881, allocations: 4.344 kB / 0.5979 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3881, allocations: 2.938 kB / 0.5979 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3881, allocations: 1.531 kB / 0.5979 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.3904, allocations: 1.727 MB / 0.5996 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3904, allocations: 9.188 kB / 0.5996 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.3907, allocations: 59.8 kB / 0.5996 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007155/0.3914, allocations: 273.4 kB / 0.5999 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.3915, allocations: 8.562 kB / 0.5999 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0045/0.396, allocations: 6.581 MB / 0.6063 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.396, allocations: 3.938 kB / 0.6063 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.3976, allocations: 0.9834 MB / 0.6073 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.3979, allocations: 196.2 kB / 0.6075 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.398, allocations: 15.94 kB / 0.6075 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.3984, allocations: 31.95 kB / 0.6075 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.3985, allocations: 43.83 kB / 0.6076 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.3986, allocations: 12 kB / 0.6076 GB, free: 14.19 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004365/0.399, allocations: 395 kB / 0.6079 GB, free: 13.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.399, allocations: 0 / 0.6079 GB, free: 13.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008806/0.3999, allocations: 224 kB / 0.6082 GB, free: 13.59 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001762/0.4001, allocations: 119.2 kB / 0.6083 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001989/0.4021, allocations: 1.271 MB / 0.6095 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4021, allocations: 0 / 0.6095 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.4033, allocations: 0.8858 MB / 0.6104 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009938/0.4043, allocations: 208.9 kB / 0.6106 GB, free: 11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.4065, allocations: 1.725 MB / 0.6123 GB, free: 9.223 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.4071, allocations: 1.012 MB / 0.6133 GB, free: 8.184 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.4072, allocations: 43.44 kB / 0.6133 GB, free: 8.141 MB / 462.1 MB Notification: Performance of SimCode: time 1.703e-06/0.4072, allocations: 0 / 0.6133 GB, free: 8.141 MB / 462.1 MB Notification: Performance of Templates: time 0.02199/0.4292, allocations: 20.84 MB / 0.6336 GB, free: 3.371 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)