Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 90.47 kB / 16.66 MB, free: 5.738 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.0013/0.0013, allocations: 187.7 kB / 17.58 MB, free: 5.473 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.374/1.374, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7275/0.7275, allocations: 115.5 MB / 408.2 MB, free: 7.031 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003634, allocations: 12 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.3994, allocations: 77.51 MB / 0.5606 GB, free: 36.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.004518/0.404, allocations: 4.016 MB / 0.5645 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004342/0.4083, allocations: 3.185 MB / 0.5676 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.4087, allocations: 11.38 kB / 0.5676 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006026/0.4093, allocations: 167.5 kB / 0.5678 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008758/0.4102, allocations: 351.6 kB / 0.5681 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.4108, allocations: 225.3 kB / 0.5683 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000888/0.4117, allocations: 0.8022 MB / 0.5691 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.4129, allocations: 0.8284 MB / 0.5699 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004467/0.4134, allocations: 220.4 kB / 0.5701 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.4138, allocations: 251 kB / 0.5704 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.4138, allocations: 15.78 kB / 0.5704 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005789/0.4144, allocations: 316.2 kB / 0.5707 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.4146, allocations: 140.6 kB / 0.5708 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.4148, allocations: 223.9 kB / 0.5711 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007777/0.4156, allocations: 0.6189 MB / 0.5717 GB, free: 29.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4156, allocations: 0 / 0.5717 GB, free: 29.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4156, allocations: 1.125 kB / 0.5717 GB, free: 29.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.4156, allocations: 0 / 0.5717 GB, free: 29.87 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001149/0.4168, allocations: 0.688 MB / 0.5723 GB, free: 29.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.4168, allocations: 13.28 kB / 0.5723 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002918/0.4197, allocations: 0.6675 MB / 0.573 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006336/0.4204, allocations: 441 kB / 0.5734 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.4204, allocations: 22.59 kB / 0.5734 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.624e-05/0.4205, allocations: 35.47 kB / 0.5735 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.4222, allocations: 0.7858 MB / 0.5742 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.4222, allocations: 1.375 kB / 0.5742 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.393e-05/0.4223, allocations: 10.75 kB / 0.5742 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.4224, allocations: 48.05 kB / 0.5743 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.4245, allocations: 0.8753 MB / 0.5752 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003771/0.4283, allocations: 2.811 MB / 0.5779 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.4301, allocations: 0.5127 MB / 0.5784 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007359/0.4308, allocations: 266 kB / 0.5786 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.462e-05/0.431, allocations: 92.34 kB / 0.5787 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.431, allocations: 36.91 kB / 0.5788 GB, free: 26.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.431, allocations: 0 / 0.5788 GB, free: 26.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.01215/0.4431, allocations: 3.111 MB / 0.5818 GB, free: 25.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.4432, allocations: 53.34 kB / 0.5819 GB, free: 25.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/0.4437, allocations: 405.4 kB / 0.5822 GB, free: 24.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.4438, allocations: 30.7 kB / 0.5823 GB, free: 24.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.4439, allocations: 236.7 kB / 0.5825 GB, free: 24.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.444, allocations: 81.17 kB / 0.5826 GB, free: 24.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-05/0.4441, allocations: 30.58 kB / 0.5826 GB, free: 24.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.129e-05/0.4441, allocations: 348.9 kB / 0.5829 GB, free: 24.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008828/0.445, allocations: 356 kB / 0.5833 GB, free: 23.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009004/0.4459, allocations: 438.5 kB / 0.5837 GB, free: 23.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.4477, allocations: 0.7674 MB / 0.5845 GB, free: 23.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4477, allocations: 1.094 kB / 0.5845 GB, free: 23.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005169/0.4529, allocations: 1.516 MB / 0.5859 GB, free: 22.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.115e-05/0.453, allocations: 152.9 kB / 0.5861 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.453, allocations: 1.812 kB / 0.5861 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003987/0.457, allocations: 0.8284 MB / 0.5869 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006463/0.4577, allocations: 127 kB / 0.587 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006116/0.4638, allocations: 4.534 MB / 0.5914 GB, free: 18.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008955/0.4647, allocations: 118.7 kB / 0.5915 GB, free: 18.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.4648, allocations: 18.48 kB / 0.5916 GB, free: 18.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.4648, allocations: 3.188 kB / 0.5916 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00429/0.4691, allocations: 1.237 MB / 0.5928 GB, free: 17.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.4692, allocations: 6.672 kB / 0.5928 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/0.4718, allocations: 0.5359 MB / 0.5933 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006658/0.4725, allocations: 148.6 kB / 0.5934 GB, free: 17.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/0.4765, allocations: 2.701 MB / 0.5961 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008164/0.4774, allocations: 111.9 kB / 0.5962 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.4774, allocations: 15.98 kB / 0.5962 GB, free: 14.08 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004106/0.4779, allocations: 323.9 kB / 0.5965 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.4779, allocations: 35.53 kB / 0.5966 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004466/0.4824, allocations: 1.392 MB / 0.5979 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4824, allocations: 4 kB / 0.5979 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4825, allocations: 0 / 0.5979 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4825, allocations: 11.86 kB / 0.5979 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005102/0.4876, allocations: 2.029 MB / 0.5999 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.4876, allocations: 4 kB / 0.5999 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004051/0.488, allocations: 79.91 kB / 0.6 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003401/0.4914, allocations: 0.7662 MB / 0.6007 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.4915, allocations: 15.98 kB / 0.6008 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004813/0.4963, allocations: 4.36 MB / 0.605 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4964, allocations: 0 / 0.605 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004365/0.5007, allocations: 1.408 MB / 0.6064 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.501, allocations: 172.6 kB / 0.6065 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.275e-05/0.5011, allocations: 3.938 kB / 0.6066 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.5017, allocations: 95.86 kB / 0.6066 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.5018, allocations: 23.95 kB / 0.6067 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.5019, allocations: 12 kB / 0.6067 GB, free: 2.938 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002973/0.5022, allocations: 299.1 kB / 0.607 GB, free: 2.648 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5022, allocations: 3.938 kB / 0.607 GB, free: 2.645 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008175/0.503, allocations: 200 kB / 0.6072 GB, free: 2.449 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001561/0.5032, allocations: 111.2 kB / 0.6073 GB, free: 2.332 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004116/0.5073, allocations: 1.726 MB / 0.6089 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5073, allocations: 0 / 0.6089 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.5085, allocations: 0.6469 MB / 0.6096 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008423/0.5093, allocations: 125.2 kB / 0.6097 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.5115, allocations: 1.263 MB / 0.6109 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.512, allocations: 0.9093 MB / 0.6118 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.5122, allocations: 35.42 kB / 0.6119 GB, free: 13.5 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5122, allocations: 0 / 0.6119 GB, free: 13.5 MB / 462.1 MB Notification: Performance of Templates: time 0.01644/0.5286, allocations: 12.33 MB / 0.6239 GB, free: 1.203 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)