Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.834/2.834, allocations: 287.5 MB / 302.4 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 182 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.237/2.237, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009699/0.0009699, allocations: 92.91 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008507/0.0008512, allocations: 12.28 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2468, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01406/0.2609, allocations: 9.709 MB / 0.9878 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.2771, allocations: 8.256 MB / 0.9959 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.279, allocations: 47.69 kB / 0.996 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.2804, allocations: 265.8 kB / 0.9962 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005673/0.2861, allocations: 1.253 MB / 0.9974 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.2884, allocations: 465.1 kB / 0.9979 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003942/0.2924, allocations: 2.454 MB / 1 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004511/0.297, allocations: 1.78 MB / 1.002 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002085/0.2991, allocations: 0.7974 MB / 1.003 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002083/0.3012, allocations: 0.9104 MB / 1.004 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004243/0.3017, allocations: 60 kB / 1.004 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.3037, allocations: 455.4 kB / 1.004 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007665/0.3045, allocations: 482.4 kB / 1.005 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006335/0.3051, allocations: 336.8 kB / 1.005 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003706/0.3089, allocations: 1.956 MB / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.309, allocations: 0 / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.497e-06/0.309, allocations: 4 kB / 1.007 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.348e-05/0.3091, allocations: 0 / 1.007 GB, free: 15.03 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005214/0.3143, allocations: 1.737 MB / 1.009 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.3144, allocations: 12.02 kB / 1.009 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02073/0.3351, allocations: 2.108 MB / 1.011 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/0.3389, allocations: 1.087 MB / 1.012 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.3391, allocations: 82.31 kB / 1.012 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004919/0.3396, allocations: 112 kB / 1.012 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.3502, allocations: 2.502 MB / 1.014 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.205e-05/0.3503, allocations: 7.906 kB / 1.014 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002808/0.3506, allocations: 55.97 kB / 1.014 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006616/0.3513, allocations: 130.1 kB / 1.015 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01448/0.3658, allocations: 2.584 MB / 1.017 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0252/0.3911, allocations: 10.12 MB / 1.027 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/0.4033, allocations: 2.001 MB / 1.029 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005501/0.4088, allocations: 0.9894 MB / 1.03 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.409, allocations: 4.438 kB / 1.03 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/0.4091, allocations: 46.94 kB / 1.03 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 4.148e-06/0.4091, allocations: 0 / 1.03 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.05907/0.4681, allocations: 8.758 MB / 1.038 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.4683, allocations: 60.06 kB / 1.038 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/0.4706, allocations: 1.089 MB / 1.04 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002845/0.471, allocations: 45.64 kB / 1.04 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008597/0.4718, allocations: 0.7418 MB / 1.04 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005176/0.4724, allocations: 279.9 kB / 1.041 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.4725, allocations: 20 kB / 1.041 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.4728, allocations: 353.8 kB / 1.041 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00588/0.4787, allocations: 1.087 MB / 1.042 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006158/0.4849, allocations: 1.321 MB / 1.043 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006081/0.491, allocations: 1.143 MB / 1.044 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.4911, allocations: 4 kB / 1.044 GB, free: 7.367 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0169/0.508, allocations: 3.304 MB / 1.048 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.5081, allocations: 8.125 kB / 1.048 GB, free: 4.008 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.5081, allocations: 12 kB / 1.048 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005005/0.5131, allocations: 0.7832 MB / 1.048 GB, free: 3.188 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003813/0.517, allocations: 423.3 kB / 1.049 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02556/0.5426, allocations: 14.69 MB / 1.063 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004211/0.5469, allocations: 303.6 kB / 1.063 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002415/0.5472, allocations: 51.97 kB / 1.064 GB, free: 2.668 MB / 0.6823 GB 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001182/0.5484, allocations: 397.9 kB / 1.064 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004802/0.5489, allocations: 146.3 kB / 1.064 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6873/1.236, allocations: 3.229 MB / 1.067 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/1.236, allocations: 12.16 kB / 1.067 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-05/1.236, allocations: 8.375 kB / 1.067 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.857e-05/1.236, allocations: 7.047 kB / 1.067 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02192/1.258, allocations: 4.933 MB / 1.072 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/1.258, allocations: 3.062 kB / 1.072 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003395/1.262, allocations: 362.6 kB / 1.072 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004496/1.266, allocations: 0.6968 MB / 1.073 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000272/1.267, allocations: 32.45 kB / 1.073 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02201/1.289, allocations: 14.31 MB / 1.087 GB, free: 71.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.289, allocations: 2.906 kB / 1.087 GB, free: 71.08 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/1.304, allocations: 3.078 MB / 1.09 GB, free: 70.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.306, allocations: 384.5 kB / 1.09 GB, free: 69.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005287/1.306, allocations: 15.2 kB / 1.09 GB, free: 69.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003982/1.31, allocations: 305.3 kB / 1.091 GB, free: 69.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005225/1.311, allocations: 81.41 kB / 1.091 GB, free: 69.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002248/1.311, allocations: 40.39 kB / 1.091 GB, free: 69.88 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001804/1.313, allocations: 0.7265 MB / 1.092 GB, free: 69.58 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.102e-06/1.313, allocations: 0 / 1.092 GB, free: 69.58 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002789/1.316, allocations: 435.1 kB / 1.092 GB, free: 69.54 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003969/1.316, allocations: 126.2 kB / 1.092 GB, free: 69.44 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01556/1.332, allocations: 3.656 MB / 1.096 GB, free: 67.81 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.332, allocations: 1.062 kB / 1.096 GB, free: 67.81 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.009416/1.341, allocations: 2.39 MB / 1.098 GB, free: 66.51 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004588/1.346, allocations: 497.2 kB / 1.098 GB, free: 66.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/1.359, allocations: 3.932 MB / 1.102 GB, free: 64.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/1.361, allocations: 1.388 MB / 1.104 GB, free: 63.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002967/1.364, allocations: 378.5 kB / 1.104 GB, free: 63.54 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006546/1.364, allocations: 106.5 kB / 1.104 GB, free: 63.53 MB / 0.6823 GB Notification: Performance of SimCode: time 1.493e-06/1.364, allocations: 0 / 1.104 GB, free: 63.53 MB / 0.6823 GB Notification: Performance of Templates: time 0.07604/1.44, allocations: 28.12 MB / 1.132 GB, free: 48.71 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)