Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 88.55 kB / 16.67 MB, free: 6.594 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.001464/0.001464, allocations: 184 kB / 17.58 MB, free: 6.188 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.337/1.337, allocations: 223.3 MB / 241.6 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7389/0.7389, allocations: 115.5 MB / 408.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003563, allocations: 8 kB / 496.5 MB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4466, allocations: 77.52 MB / 0.5606 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005745/0.4524, allocations: 5.06 MB / 0.5655 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.4566, allocations: 2.589 MB / 0.5681 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004038/0.457, allocations: 18.16 kB / 0.5681 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.4574, allocations: 101.8 kB / 0.5682 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009634/0.4583, allocations: 384.6 kB / 0.5685 GB, free: 30.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009824/0.4593, allocations: 361.7 kB / 0.5689 GB, free: 30.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.4608, allocations: 1.239 MB / 0.5701 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.4622, allocations: 0.794 MB / 0.5709 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005945/0.4628, allocations: 320.4 kB / 0.5712 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.4634, allocations: 380.4 kB / 0.5715 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.56e-05/0.4635, allocations: 26.41 kB / 0.5716 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009373/0.4644, allocations: 425.5 kB / 0.572 GB, free: 29.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.4647, allocations: 223.8 kB / 0.5722 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.4651, allocations: 342.5 kB / 0.5725 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009894/0.4661, allocations: 0.7313 MB / 0.5732 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.4661, allocations: 0 / 0.5732 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.4661, allocations: 1.406 kB / 0.5732 GB, free: 28.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.4661, allocations: 1.125 kB / 0.5732 GB, free: 28.82 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001428/0.4675, allocations: 0.8459 MB / 0.5741 GB, free: 28.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.4676, allocations: 18.05 kB / 0.5741 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.4691, allocations: 200.5 kB / 0.5743 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007015/0.4698, allocations: 489.2 kB / 0.5747 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.4699, allocations: 40.55 kB / 0.5748 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.47, allocations: 57.08 kB / 0.5748 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.4713, allocations: 0.8269 MB / 0.5756 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.4713, allocations: 7.188 kB / 0.5756 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/0.4714, allocations: 28.3 kB / 0.5757 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002097/0.4716, allocations: 64.34 kB / 0.5757 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008941/0.4725, allocations: 0.573 MB / 0.5763 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003783/0.4763, allocations: 4.585 MB / 0.5808 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.4768, allocations: 300.7 kB / 0.5811 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.4771, allocations: 225.9 kB / 0.5813 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.4771, allocations: 8.797 kB / 0.5813 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.4772, allocations: 34.05 kB / 0.5813 GB, free: 22.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.836e-06/0.4772, allocations: 1.188 kB / 0.5813 GB, free: 22.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005495/0.4827, allocations: 2.629 MB / 0.5839 GB, free: 21.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.4827, allocations: 56.16 kB / 0.5839 GB, free: 21.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000539/0.4833, allocations: 461.3 kB / 0.5844 GB, free: 21.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.4833, allocations: 34.39 kB / 0.5844 GB, free: 21.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.4835, allocations: 342.4 kB / 0.5847 GB, free: 20.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.4836, allocations: 144.6 kB / 0.5849 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.4837, allocations: 53.64 kB / 0.5849 GB, free: 20.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4838, allocations: 359.2 kB / 0.5853 GB, free: 20.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.4842, allocations: 242.7 kB / 0.5855 GB, free: 20.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/0.4847, allocations: 406.1 kB / 0.5859 GB, free: 20.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008791/0.4856, allocations: 0.6812 MB / 0.5866 GB, free: 19.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4856, allocations: 5.031 kB / 0.5866 GB, free: 19.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001689/0.4873, allocations: 0.919 MB / 0.5875 GB, free: 19.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4873, allocations: 8.219 kB / 0.5875 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4873, allocations: 5.656 kB / 0.5875 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008149/0.4882, allocations: 228.2 kB / 0.5877 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.4887, allocations: 115.1 kB / 0.5878 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004024/0.4927, allocations: 4.936 MB / 0.5926 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.4933, allocations: 34.84 kB / 0.5926 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.4933, allocations: 22.16 kB / 0.5927 GB, free: 14.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003539/0.4937, allocations: 232.4 kB / 0.5929 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.574e-05/0.4938, allocations: 56.22 kB / 0.5929 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.4952, allocations: 0.7773 MB / 0.5937 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4953, allocations: 4.562 kB / 0.5937 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4953, allocations: 2.594 kB / 0.5937 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.4953, allocations: 0 / 0.5937 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.4976, allocations: 1.495 MB / 0.5952 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4976, allocations: 5.062 kB / 0.5952 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.498, allocations: 73.55 kB / 0.5952 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006413/0.4987, allocations: 206.7 kB / 0.5954 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.4987, allocations: 8.5 kB / 0.5954 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003658/0.5024, allocations: 4.869 MB / 0.6002 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5024, allocations: 2.281 kB / 0.6002 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.5041, allocations: 1.142 MB / 0.6013 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/0.5044, allocations: 169.6 kB / 0.6015 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/0.5045, allocations: 13.27 kB / 0.6015 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.5048, allocations: 27.38 kB / 0.6015 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/0.5049, allocations: 42.89 kB / 0.6016 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.5049, allocations: 14.56 kB / 0.6016 GB, free: 7.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003398/0.5053, allocations: 307.4 kB / 0.6019 GB, free: 6.996 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5053, allocations: 0 / 0.6019 GB, free: 6.996 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007963/0.5061, allocations: 169.8 kB / 0.602 GB, free: 6.977 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001426/0.5062, allocations: 119.4 kB / 0.6021 GB, free: 6.871 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.5077, allocations: 1.001 MB / 0.6031 GB, free: 5.879 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5077, allocations: 0 / 0.6031 GB, free: 5.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007872/0.5085, allocations: 0.6801 MB / 0.6038 GB, free: 5.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009972/0.5095, allocations: 171.5 kB / 0.604 GB, free: 4.996 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.5115, allocations: 1.613 MB / 0.6055 GB, free: 3.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.5119, allocations: 0.9455 MB / 0.6065 GB, free: 2.359 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.512, allocations: 39.44 kB / 0.6065 GB, free: 2.324 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.5121, allocations: 4 kB / 0.6065 GB, free: 2.32 MB / 446.1 MB Notification: Performance of Templates: time 0.01778/0.5298, allocations: 14.67 MB / 0.6208 GB, free: 3.691 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)