Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 97.66 kB / 15.98 MB, free: 6.34 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.00169/0.00169, allocations: 195.1 kB / 16.91 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.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7431/0.7431, allocations: 122.9 MB / 413.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 0.4906 GB, free: 7.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.398, allocations: 77.92 MB / 0.5667 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0113/0.4093, allocations: 10.84 MB / 0.5773 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.4207, allocations: 8.716 MB / 0.5858 GB, free: 18.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.4223, allocations: 55.25 kB / 0.5859 GB, free: 18.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003723/0.426, allocations: 1.562 MB / 0.5874 GB, free: 17.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004799/0.4308, allocations: 1.397 MB / 0.5888 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.4327, allocations: 0.6142 MB / 0.5894 GB, free: 16.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003056/0.4358, allocations: 2.288 MB / 0.5916 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.4379, allocations: 1.552 MB / 0.5931 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.4402, allocations: 0.994 MB / 0.5941 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.4418, allocations: 1.058 MB / 0.5951 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.442, allocations: 138.3 kB / 0.5953 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.4438, allocations: 0.7998 MB / 0.596 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004777/0.4443, allocations: 0.5627 MB / 0.5966 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00094/0.4453, allocations: 0.8939 MB / 0.5975 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002938/0.4482, allocations: 2.585 MB / 0.6 GB, free: 8.879 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4482, allocations: 7.938 kB / 0.6 GB, free: 8.871 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4482, allocations: 0 / 0.6 GB, free: 8.871 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.956e-05/0.4483, allocations: 3.938 kB / 0.6 GB, free: 8.867 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002952/0.4512, allocations: 2.016 MB / 0.602 GB, free: 6.797 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4513, allocations: 12.62 kB / 0.602 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.4616, allocations: 2.05 MB / 0.604 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.4637, allocations: 1.126 MB / 0.6051 GB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.4638, allocations: 82.69 kB / 0.6052 GB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.464, allocations: 116.1 kB / 0.6053 GB, free: 3.352 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00466/0.4687, allocations: 2.482 MB / 0.6077 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.019e-05/0.4688, allocations: 11.84 kB / 0.6077 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.4689, allocations: 56 kB / 0.6078 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002996/0.4692, allocations: 126.1 kB / 0.6079 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00715/0.4764, allocations: 2.541 MB / 0.6104 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.4908, allocations: 10.08 MB / 0.6202 GB, free: 3.234 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005988/0.4968, allocations: 1.956 MB / 0.6221 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/0.4996, allocations: 0.9738 MB / 0.6231 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.102e-05/0.4996, allocations: 4.438 kB / 0.6231 GB, free: 276 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.4997, allocations: 46.98 kB / 0.6231 GB, free: 220 kB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.605e-06/0.4997, allocations: 0 / 0.6231 GB, free: 220 kB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.03142/0.5311, allocations: 8.71 MB / 0.6316 GB, free: 7.445 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.5312, allocations: 60.06 kB / 0.6317 GB, free: 7.371 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.5327, allocations: 1.097 MB / 0.6328 GB, free: 6.258 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.5329, allocations: 41.7 kB / 0.6328 GB, free: 6.211 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005258/0.5334, allocations: 0.7418 MB / 0.6335 GB, free: 5.461 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.5337, allocations: 280 kB / 0.6338 GB, free: 5.184 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003977/0.5341, allocations: 198.4 kB / 0.634 GB, free: 4.984 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.5343, allocations: 345.9 kB / 0.6343 GB, free: 4.641 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/0.5372, allocations: 1.071 MB / 0.6353 GB, free: 3.566 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003059/0.5403, allocations: 1.309 MB / 0.6366 GB, free: 2.164 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00598/0.5462, allocations: 2.378 MB / 0.639 GB, free: 15.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.5463, allocations: 0 / 0.639 GB, free: 15.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008856/0.5551, allocations: 3.284 MB / 0.6422 GB, free: 12.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.5552, allocations: 11.94 kB / 0.6422 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.5552, allocations: 4 kB / 0.6422 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/0.558, allocations: 0.7951 MB / 0.6429 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.5599, allocations: 415.3 kB / 0.6433 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/0.5762, allocations: 15.92 MB / 0.6589 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/0.5786, allocations: 283.5 kB / 0.6592 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.5787, allocations: 55.95 kB / 0.6592 GB, free: 9.75 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0007701/0.5795, allocations: 409.4 kB / 0.6596 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/0.5798, allocations: 142.3 kB / 0.6597 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008717/0.5885, allocations: 3.206 MB / 0.6629 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5886, allocations: 11.94 kB / 0.6629 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.5886, allocations: 12 kB / 0.6629 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.5886, allocations: 3.984 kB / 0.6629 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/0.6, allocations: 4.897 MB / 0.6677 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.6, allocations: 7.938 kB / 0.6677 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.6016, allocations: 355.3 kB / 0.668 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00253/0.6042, allocations: 0.7016 MB / 0.6687 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.6043, allocations: 27.97 kB / 0.6687 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/0.6195, allocations: 15.56 MB / 0.6839 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.6196, allocations: 4 kB / 0.6839 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00802/0.6276, allocations: 3.034 MB / 0.6869 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008058/0.6284, allocations: 387.4 kB / 0.6873 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.6287, allocations: 20 kB / 0.6873 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.6305, allocations: 295.4 kB / 0.6876 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.6308, allocations: 80.48 kB / 0.6876 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.513e-05/0.6309, allocations: 39.97 kB / 0.6877 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001003/0.6319, allocations: 0.7405 MB / 0.6884 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6319, allocations: 0 / 0.6884 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001521/0.6334, allocations: 432 kB / 0.6888 GB, free: 10.01 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002899/0.6337, allocations: 126.1 kB / 0.6889 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0087/0.6424, allocations: 3.758 MB / 0.6926 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.6425, allocations: 8.125 kB / 0.6926 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004883/0.6473, allocations: 2.36 MB / 0.6949 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/0.6499, allocations: 0.5196 MB / 0.6954 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007645/0.6576, allocations: 4.074 MB / 0.6994 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.6587, allocations: 1.384 MB / 0.7008 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001565/0.6603, allocations: 379.9 kB / 0.7011 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003516/0.6607, allocations: 107.4 kB / 0.7012 GB, free: 13.02 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.6607, allocations: 0 / 0.7012 GB, free: 13.02 MB / 0.545 GB Notification: Performance of Templates: time 0.0475/0.7082, allocations: 30.41 MB / 0.7309 GB, free: 15.04 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)