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.00139/0.00139, allocations: 103.8 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.001416/0.001416, allocations: 201.4 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.44/1.44, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8321/0.8321, allocations: 126.7 MB / 417.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 71.89 kB / 0.4953 GB, free: 3.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3645, allocations: 78.86 MB / 0.5723 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01211/0.3767, allocations: 10.84 MB / 0.5829 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.3888, allocations: 8.708 MB / 0.5914 GB, free: 16.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.3906, allocations: 51.78 kB / 0.5914 GB, free: 16.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003843/0.3945, allocations: 1.573 MB / 0.593 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004964/0.3995, allocations: 1.389 MB / 0.5943 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.4014, allocations: 0.6164 MB / 0.5949 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003539/0.405, allocations: 2.282 MB / 0.5971 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.4068, allocations: 1.558 MB / 0.5987 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.4085, allocations: 1.008 MB / 0.5996 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.4096, allocations: 1.055 MB / 0.6007 GB, free: 8.891 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.4097, allocations: 136 kB / 0.6008 GB, free: 8.758 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.4114, allocations: 0.7994 MB / 0.6016 GB, free: 7.957 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004508/0.4118, allocations: 0.5686 MB / 0.6021 GB, free: 7.387 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007259/0.4126, allocations: 0.8861 MB / 0.603 GB, free: 6.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.4147, allocations: 2.585 MB / 0.6055 GB, free: 3.902 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4147, allocations: 4 kB / 0.6055 GB, free: 3.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4147, allocations: 0 / 0.6055 GB, free: 3.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.12e-05/0.4148, allocations: 4 kB / 0.6055 GB, free: 3.895 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.002605/0.4174, allocations: 2.014 MB / 0.6075 GB, free: 1.824 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.4174, allocations: 8.031 kB / 0.6075 GB, free: 1.816 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009722/0.4271, allocations: 2.046 MB / 0.6095 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002548/0.4297, allocations: 1.134 MB / 0.6106 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.4298, allocations: 86.69 kB / 0.6107 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/0.4301, allocations: 120 kB / 0.6108 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005607/0.4357, allocations: 2.478 MB / 0.6132 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.4358, allocations: 3.984 kB / 0.6132 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.4359, allocations: 55.98 kB / 0.6133 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003369/0.4363, allocations: 134.1 kB / 0.6134 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007128/0.4434, allocations: 2.537 MB / 0.6159 GB, free: 9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01475/0.4582, allocations: 10.07 MB / 0.6257 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005988/0.4642, allocations: 1.953 MB / 0.6276 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002704/0.467, allocations: 0.9722 MB / 0.6286 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-05/0.467, allocations: 8.422 kB / 0.6286 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.4671, allocations: 42.94 kB / 0.6286 GB, free: 11.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 2.735e-06/0.4671, allocations: 0 / 0.6286 GB, free: 11.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.03075/0.4978, allocations: 8.714 MB / 0.6372 GB, free: 2.473 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.4979, allocations: 60.06 kB / 0.6372 GB, free: 2.402 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.4995, allocations: 1.101 MB / 0.6383 GB, free: 1.285 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.883e-05/0.4996, allocations: 37.7 kB / 0.6383 GB, free: 1.242 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005829/0.5002, allocations: 0.7457 MB / 0.639 GB, free: 500 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.5005, allocations: 280 kB / 0.6393 GB, free: 216 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000404/0.5009, allocations: 202.4 kB / 0.6395 GB, free: 8 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5011, allocations: 342 kB / 0.6398 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003145/0.5042, allocations: 1.075 MB / 0.6409 GB, free: 14.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003044/0.5073, allocations: 1.305 MB / 0.6422 GB, free: 13.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005855/0.5131, allocations: 2.389 MB / 0.6445 GB, free: 10.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.5132, allocations: 4 kB / 0.6445 GB, free: 10.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008873/0.522, allocations: 3.273 MB / 0.6477 GB, free: 7.391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.5221, allocations: 8 kB / 0.6477 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.5221, allocations: 7.938 kB / 0.6477 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002819/0.5249, allocations: 0.7951 MB / 0.6485 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.5268, allocations: 419.2 kB / 0.6489 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01853/0.5454, allocations: 15.93 MB / 0.6644 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/0.5478, allocations: 287.5 kB / 0.6647 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.548, allocations: 51.97 kB / 0.6648 GB, free: 4.766 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.0008487/0.5488, allocations: 410.1 kB / 0.6652 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/0.5491, allocations: 142.3 kB / 0.6653 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008889/0.558, allocations: 3.202 MB / 0.6684 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.5581, allocations: 12.12 kB / 0.6684 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.5581, allocations: 8 kB / 0.6684 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.5581, allocations: 11.97 kB / 0.6684 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.5703, allocations: 4.901 MB / 0.6732 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.5704, allocations: 7.938 kB / 0.6732 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/0.572, allocations: 351.4 kB / 0.6736 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002505/0.5745, allocations: 0.7057 MB / 0.6743 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.5747, allocations: 31.95 kB / 0.6743 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/0.5928, allocations: 15.53 MB / 0.6895 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.5929, allocations: 4 kB / 0.6895 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008753/0.6016, allocations: 3.042 MB / 0.6924 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008792/0.6025, allocations: 383.2 kB / 0.6928 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.6028, allocations: 19.98 kB / 0.6928 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.6046, allocations: 295.4 kB / 0.6931 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003159/0.6049, allocations: 80.5 kB / 0.6932 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.96e-05/0.605, allocations: 35.97 kB / 0.6932 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001087/0.6061, allocations: 0.7405 MB / 0.6939 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.974e-06/0.6061, allocations: 0 / 0.6939 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001559/0.6077, allocations: 435.9 kB / 0.6944 GB, free: 5.031 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.0002651/0.6079, allocations: 127.2 kB / 0.6945 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009336/0.6173, allocations: 3.762 MB / 0.6981 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.6173, allocations: 128 / 0.6981 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0054/0.6227, allocations: 2.375 MB / 0.7005 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/0.6254, allocations: 0.5221 MB / 0.701 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008906/0.6343, allocations: 4.045 MB / 0.7049 GB, free: 9.961 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.6356, allocations: 1.392 MB / 0.7063 GB, free: 8.539 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001825/0.6374, allocations: 379.9 kB / 0.7066 GB, free: 8.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.6378, allocations: 103.4 kB / 0.7067 GB, free: 8.062 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.6378, allocations: 0 / 0.7067 GB, free: 8.062 MB / 0.545 GB Notification: Performance of Templates: time 0.05898/0.6968, allocations: 30.43 MB / 0.7365 GB, free: 10.07 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)