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.0011/0.0011, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 175.7 kB / 16.58 MB, free: 6.844 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.417/1.417, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7157/0.7157, allocations: 115.5 MB / 407.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 8.594 kB / 495.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1649, allocations: 77.53 MB / 0.5593 GB, free: 9.434 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01022/0.1752, allocations: 9.78 MB / 0.5689 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.1867, allocations: 8.185 MB / 0.5769 GB, free: 7.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008997/0.1876, allocations: 47.69 kB / 0.5769 GB, free: 7.363 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007666/0.1884, allocations: 265.8 kB / 0.5772 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.1914, allocations: 1.259 MB / 0.5784 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1926, allocations: 470.2 kB / 0.5789 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00232/0.1949, allocations: 2.442 MB / 0.5812 GB, free: 2.938 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002953/0.1979, allocations: 1.786 MB / 0.583 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.1993, allocations: 0.7897 MB / 0.5838 GB, free: 324 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3115/0.5107, allocations: 0.9003 MB / 0.5846 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003648/0.5112, allocations: 59.62 kB / 0.5847 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.5127, allocations: 461.9 kB / 0.5851 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006293/0.5133, allocations: 478.5 kB / 0.5856 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006776/0.514, allocations: 338.9 kB / 0.5859 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003431/0.5174, allocations: 1.958 MB / 0.5878 GB, free: 11.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.5175, allocations: 0 / 0.5878 GB, free: 11.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.5175, allocations: 0.75 kB / 0.5878 GB, free: 11.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.479e-05/0.5175, allocations: 0 / 0.5878 GB, free: 11.25 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.003926/0.5215, allocations: 1.724 MB / 0.5895 GB, free: 10.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5215, allocations: 10.19 kB / 0.5895 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.5325, allocations: 2.113 MB / 0.5916 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/0.5355, allocations: 1.084 MB / 0.5926 GB, free: 9.809 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.5357, allocations: 88.5 kB / 0.5927 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/0.536, allocations: 113.2 kB / 0.5928 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005748/0.5417, allocations: 2.498 MB / 0.5953 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.511e-05/0.5418, allocations: 4.812 kB / 0.5953 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.542, allocations: 59.45 kB / 0.5953 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003838/0.5424, allocations: 127.6 kB / 0.5954 GB, free: 9.387 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007155/0.5495, allocations: 2.581 MB / 0.598 GB, free: 9.359 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01348/0.563, allocations: 10.12 MB / 0.6078 GB, free: 19.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005247/0.5683, allocations: 2.001 MB / 0.6098 GB, free: 18.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/0.5707, allocations: 0.9934 MB / 0.6108 GB, free: 18.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.553e-05/0.5708, allocations: 6.25 kB / 0.6108 GB, free: 18.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.5708, allocations: 37.53 kB / 0.6108 GB, free: 18.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.956e-06/0.5708, allocations: 0 / 0.6108 GB, free: 18.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02761/0.5984, allocations: 8.771 MB / 0.6194 GB, free: 15.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.5985, allocations: 61.41 kB / 0.6194 GB, free: 15.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.6004, allocations: 1.088 MB / 0.6205 GB, free: 15.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.6006, allocations: 38.36 kB / 0.6205 GB, free: 15.01 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005496/0.6011, allocations: 0.7398 MB / 0.6213 GB, free: 14.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.6014, allocations: 280.6 kB / 0.6215 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-05/0.6015, allocations: 24.06 kB / 0.6215 GB, free: 14.44 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6016, allocations: 342 kB / 0.6219 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.604, allocations: 1.094 MB / 0.6229 GB, free: 13.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.6066, allocations: 1.321 MB / 0.6242 GB, free: 12.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002626/0.6092, allocations: 1.147 MB / 0.6254 GB, free: 12.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6093, allocations: 0 / 0.6254 GB, free: 12.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007933/0.6172, allocations: 3.303 MB / 0.6286 GB, free: 10.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.6172, allocations: 8 kB / 0.6286 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.6173, allocations: 8 kB / 0.6286 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0026/0.6199, allocations: 0.7893 MB / 0.6294 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.6217, allocations: 433.3 kB / 0.6298 GB, free: 9.273 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/0.636, allocations: 14.67 MB / 0.6441 GB, free: 9.613 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/0.6384, allocations: 303.6 kB / 0.6444 GB, free: 9.316 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.6385, allocations: 55.95 kB / 0.6445 GB, free: 9.262 MB / 478.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 (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.0009675/0.6395, allocations: 399.5 kB / 0.6448 GB, free: 8.875 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/0.6398, allocations: 150.2 kB / 0.645 GB, free: 8.727 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008251/0.6481, allocations: 3.234 MB / 0.6481 GB, free: 5.48 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.6481, allocations: 11.84 kB / 0.6481 GB, free: 5.473 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.311e-05/0.6482, allocations: 8 kB / 0.6482 GB, free: 5.465 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.6482, allocations: 3.984 kB / 0.6482 GB, free: 5.461 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.6592, allocations: 4.949 MB / 0.653 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.6592, allocations: 3.984 kB / 0.653 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.6607, allocations: 362.6 kB / 0.6533 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00228/0.663, allocations: 0.6953 MB / 0.654 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.6631, allocations: 34.48 kB / 0.6541 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/0.6772, allocations: 14.31 MB / 0.668 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.6772, allocations: 4.031 kB / 0.668 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007899/0.6851, allocations: 3.077 MB / 0.671 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.6862, allocations: 383.2 kB / 0.6714 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004548/0.6867, allocations: 16 kB / 0.6714 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001917/0.6886, allocations: 303.5 kB / 0.6717 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.6889, allocations: 79.52 kB / 0.6718 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.689, allocations: 39.95 kB / 0.6718 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0014/0.6904, allocations: 0.7288 MB / 0.6725 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6904, allocations: 0 / 0.6725 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002047/0.6925, allocations: 428 kB / 0.6729 GB, free: 10.94 MB / 0.4981 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.0002749/0.6928, allocations: 134.1 kB / 0.6731 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008934/0.7017, allocations: 3.653 MB / 0.6766 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.7017, allocations: 0 / 0.6766 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004861/0.7066, allocations: 2.386 MB / 0.679 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/0.7097, allocations: 485.4 kB / 0.6794 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008242/0.718, allocations: 3.946 MB / 0.6833 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/0.7194, allocations: 1.386 MB / 0.6846 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001691/0.7211, allocations: 379.9 kB / 0.685 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/0.7215, allocations: 110.1 kB / 0.6851 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.7215, allocations: 0 / 0.6851 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of Templates: time 0.0453/0.7668, allocations: 28.09 MB / 0.7125 GB, free: 2.707 MB / 0.5294 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)