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.0009796/0.0009796, allocations: 98.81 kB / 16.02 MB, free: 80 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.001278/0.001278, allocations: 185.5 kB / 16.92 MB, free: 6.754 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.411/1.411, allocations: 223.2 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6884/0.6884, allocations: 115.5 MB / 407.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003425, allocations: 12.56 kB / 495.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1511, allocations: 77.54 MB / 0.56 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01106/0.1622, allocations: 10.34 MB / 0.5701 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.1748, allocations: 8.68 MB / 0.5785 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.1765, allocations: 47.69 kB / 0.5786 GB, free: 5.906 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.1776, allocations: 281.8 kB / 0.5789 GB, free: 5.629 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004394/0.182, allocations: 1.401 MB / 0.5802 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.1838, allocations: 0.6083 MB / 0.5808 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003704/0.1875, allocations: 2.894 MB / 0.5837 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2857/0.4732, allocations: 1.948 MB / 0.5856 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.4752, allocations: 0.8183 MB / 0.5864 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.4769, allocations: 0.951 MB / 0.5873 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.4771, allocations: 59.75 kB / 0.5873 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.479, allocations: 0.8764 MB / 0.5882 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006319/0.4797, allocations: 487.5 kB / 0.5887 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000925/0.4806, allocations: 0.8024 MB / 0.5894 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003934/0.4845, allocations: 2.494 MB / 0.5919 GB, free: 10.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4846, allocations: 0 / 0.5919 GB, free: 10.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4846, allocations: 0 / 0.5919 GB, free: 10.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.463e-05/0.4846, allocations: 0 / 0.5919 GB, free: 10.3 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.003609/0.4882, allocations: 1.716 MB / 0.5936 GB, free: 9.324 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4883, allocations: 8.719 kB / 0.5936 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/0.5011, allocations: 2.115 MB / 0.5956 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/0.5041, allocations: 1.118 MB / 0.5967 GB, free: 8.797 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.093e-05/0.5042, allocations: 88.94 kB / 0.5968 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/0.5045, allocations: 117.9 kB / 0.5969 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006423/0.5109, allocations: 2.511 MB / 0.5994 GB, free: 8.371 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/0.511, allocations: 6.812 kB / 0.5994 GB, free: 8.371 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.5112, allocations: 56.55 kB / 0.5994 GB, free: 8.367 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003762/0.5115, allocations: 126.8 kB / 0.5996 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007704/0.5193, allocations: 2.589 MB / 0.6021 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01369/0.533, allocations: 10.12 MB / 0.612 GB, free: 17.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006359/0.5394, allocations: 2.006 MB / 0.6139 GB, free: 16.81 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002765/0.5422, allocations: 0.9921 MB / 0.6149 GB, free: 16.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.5422, allocations: 5.969 kB / 0.6149 GB, free: 16.31 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.5423, allocations: 37.81 kB / 0.6149 GB, free: 16.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.304e-06/0.5423, allocations: 0 / 0.6149 GB, free: 16.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.03158/0.5739, allocations: 8.792 MB / 0.6235 GB, free: 12.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.5739, allocations: 63.38 kB / 0.6236 GB, free: 11.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.5755, allocations: 1.095 MB / 0.6246 GB, free: 11.37 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.5756, allocations: 36.92 kB / 0.6247 GB, free: 11.33 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/0.5762, allocations: 0.7401 MB / 0.6254 GB, free: 10.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/0.5764, allocations: 286.4 kB / 0.6257 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.5766, allocations: 75.73 kB / 0.6257 GB, free: 10.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5768, allocations: 346.5 kB / 0.6261 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002994/0.5798, allocations: 1.092 MB / 0.6271 GB, free: 9.492 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/0.5828, allocations: 1.328 MB / 0.6284 GB, free: 8.656 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006567/0.5894, allocations: 2.419 MB / 0.6308 GB, free: 6.254 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.5895, allocations: 4 kB / 0.6308 GB, free: 6.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009526/0.599, allocations: 3.316 MB / 0.634 GB, free: 2.961 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.5991, allocations: 8 kB / 0.6341 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.5991, allocations: 4.844 kB / 0.6341 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002802/0.6019, allocations: 0.7938 MB / 0.6348 GB, free: 2.137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.604, allocations: 423.5 kB / 0.6352 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/0.6211, allocations: 14.72 MB / 0.6496 GB, free: 2.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/0.6241, allocations: 303.5 kB / 0.6499 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.6243, allocations: 47.97 kB / 0.6499 GB, free: 1.676 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 (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.001062/0.6253, allocations: 402.2 kB / 0.6503 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/0.6257, allocations: 146.3 kB / 0.6505 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009424/0.6351, allocations: 3.247 MB / 0.6536 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.6352, allocations: 11.94 kB / 0.6537 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/0.6352, allocations: 8 kB / 0.6537 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.6353, allocations: 3.984 kB / 0.6537 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.6478, allocations: 4.941 MB / 0.6585 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.6478, allocations: 7.938 kB / 0.6585 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.6495, allocations: 364.9 kB / 0.6588 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002377/0.6519, allocations: 0.694 MB / 0.6595 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.652, allocations: 31.97 kB / 0.6596 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/0.6664, allocations: 14.33 MB / 0.6735 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6665, allocations: 4.172 kB / 0.6736 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008575/0.6751, allocations: 3.087 MB / 0.6766 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.6762, allocations: 387.1 kB / 0.6769 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.6764, allocations: 27.88 kB / 0.677 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/0.6784, allocations: 299.5 kB / 0.6772 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/0.6787, allocations: 79.27 kB / 0.6773 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.6788, allocations: 43.72 kB / 0.6774 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001073/0.6799, allocations: 0.7366 MB / 0.6781 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6799, allocations: 0 / 0.6781 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001723/0.6816, allocations: 436 kB / 0.6785 GB, free: 3.293 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 (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.0002776/0.6819, allocations: 124.4 kB / 0.6786 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008983/0.6909, allocations: 3.659 MB / 0.6822 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.6909, allocations: 0 / 0.6822 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005047/0.696, allocations: 2.39 MB / 0.6845 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/0.6993, allocations: 487.8 kB / 0.685 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008162/0.7075, allocations: 4.104 MB / 0.689 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.7086, allocations: 1.392 MB / 0.6904 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001622/0.7102, allocations: 379.9 kB / 0.6907 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/0.7106, allocations: 103.4 kB / 0.6908 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.7106, allocations: 0 / 0.6908 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of Templates: time 0.05202/0.7626, allocations: 28.84 MB / 0.719 GB, free: 10.11 MB / 0.545 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)