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.001001/0.001001, allocations: 98.47 kB / 16.26 MB, free: 5.934 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.001016/0.001016, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7857/0.7857, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 0.4911 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3859, allocations: 77.93 MB / 0.5672 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01315/0.3991, allocations: 10.88 MB / 0.5778 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01551/0.4147, allocations: 8.802 MB / 0.5864 GB, free: 18.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003346/0.4181, allocations: 54.09 kB / 0.5865 GB, free: 18.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004638/0.4229, allocations: 1.667 MB / 0.5881 GB, free: 17.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006401/0.4293, allocations: 1.532 MB / 0.5896 GB, free: 16.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.4316, allocations: 0.675 MB / 0.5903 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003734/0.4353, allocations: 2.281 MB / 0.5925 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.4373, allocations: 1.38 MB / 0.5938 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.4393, allocations: 0.9779 MB / 0.5948 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.4413, allocations: 1.017 MB / 0.5958 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003399/0.4416, allocations: 137 kB / 0.5959 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.4438, allocations: 0.8044 MB / 0.5967 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005496/0.4443, allocations: 0.5668 MB / 0.5973 GB, free: 12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009306/0.4453, allocations: 0.8823 MB / 0.5981 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002994/0.4483, allocations: 2.539 MB / 0.6006 GB, free: 8.562 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4483, allocations: 0 / 0.6006 GB, free: 8.562 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4483, allocations: 3.938 kB / 0.6006 GB, free: 8.559 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.102e-05/0.4483, allocations: 0 / 0.6006 GB, free: 8.559 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.002822/0.4512, allocations: 2.018 MB / 0.6026 GB, free: 6.484 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4512, allocations: 12.62 kB / 0.6026 GB, free: 6.473 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.4614, allocations: 2.05 MB / 0.6046 GB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.4638, allocations: 1.119 MB / 0.6057 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/0.4639, allocations: 90.62 kB / 0.6058 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002581/0.4642, allocations: 124 kB / 0.6059 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004756/0.4689, allocations: 2.488 MB / 0.6083 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.469, allocations: 11.84 kB / 0.6083 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.4691, allocations: 55.98 kB / 0.6084 GB, free: 336 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000333/0.4695, allocations: 130.1 kB / 0.6085 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007595/0.4771, allocations: 2.541 MB / 0.611 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01483/0.492, allocations: 10.09 MB / 0.6208 GB, free: 2.898 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006184/0.4982, allocations: 1.944 MB / 0.6227 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002725/0.501, allocations: 0.9777 MB / 0.6237 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.468e-05/0.501, allocations: 4.438 kB / 0.6237 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.5011, allocations: 39 kB / 0.6237 GB, free: 15.89 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 4.739e-06/0.5011, allocations: 0 / 0.6237 GB, free: 15.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.03271/0.5338, allocations: 8.714 MB / 0.6322 GB, free: 7.117 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.534, allocations: 64.06 kB / 0.6323 GB, free: 7.039 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.5357, allocations: 1.097 MB / 0.6334 GB, free: 5.926 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.5359, allocations: 41.7 kB / 0.6334 GB, free: 5.879 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006346/0.5365, allocations: 0.7418 MB / 0.6341 GB, free: 5.129 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000333/0.5369, allocations: 276 kB / 0.6344 GB, free: 4.855 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004344/0.5373, allocations: 198.4 kB / 0.6346 GB, free: 4.656 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.5375, allocations: 345.9 kB / 0.6349 GB, free: 4.312 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003218/0.5407, allocations: 1.071 MB / 0.636 GB, free: 3.238 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/0.5439, allocations: 1.309 MB / 0.6372 GB, free: 1.832 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006183/0.5501, allocations: 2.382 MB / 0.6396 GB, free: 15.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.5501, allocations: 0 / 0.6396 GB, free: 15.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009157/0.5593, allocations: 3.284 MB / 0.6428 GB, free: 12.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.5594, allocations: 8 kB / 0.6428 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.5594, allocations: 8 kB / 0.6428 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/0.5622, allocations: 0.8033 MB / 0.6436 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.5641, allocations: 407.3 kB / 0.644 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/0.5804, allocations: 15.92 MB / 0.6595 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.5829, allocations: 287.5 kB / 0.6598 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.5831, allocations: 56.03 kB / 0.6598 GB, free: 9.414 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.0008/0.5839, allocations: 402.3 kB / 0.6602 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.5841, allocations: 138.3 kB / 0.6604 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008533/0.5927, allocations: 3.206 MB / 0.6635 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.5927, allocations: 11.94 kB / 0.6635 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.5927, allocations: 8 kB / 0.6635 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.5927, allocations: 3.984 kB / 0.6635 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.6044, allocations: 4.893 MB / 0.6683 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-05/0.6046, allocations: 7.938 kB / 0.6683 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/0.6063, allocations: 355.3 kB / 0.6686 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002418/0.6088, allocations: 0.7061 MB / 0.6693 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.6089, allocations: 31.91 kB / 0.6694 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01713/0.626, allocations: 15.56 MB / 0.6845 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.6261, allocations: 0 / 0.6845 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008256/0.6344, allocations: 3.042 MB / 0.6875 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.6354, allocations: 383.2 kB / 0.6879 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.6356, allocations: 16 kB / 0.6879 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/0.6374, allocations: 295.4 kB / 0.6882 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003316/0.6378, allocations: 80.48 kB / 0.6883 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.342e-05/0.6379, allocations: 39.97 kB / 0.6883 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001088/0.639, allocations: 0.7405 MB / 0.689 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/0.639, allocations: 0 / 0.689 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001636/0.6406, allocations: 428 kB / 0.6894 GB, free: 9.688 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.0002719/0.6409, allocations: 127.1 kB / 0.6895 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009089/0.65, allocations: 3.762 MB / 0.6932 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/0.6501, allocations: 4 kB / 0.6932 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005013/0.6551, allocations: 2.364 MB / 0.6955 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/0.6579, allocations: 0.5258 MB / 0.696 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00799/0.666, allocations: 3.486 MB / 0.6995 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.6671, allocations: 1.392 MB / 0.7008 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001683/0.6688, allocations: 371.9 kB / 0.7012 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.6692, allocations: 111.4 kB / 0.7013 GB, free: 13.27 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.6692, allocations: 0 / 0.7013 GB, free: 13.27 MB / 0.545 GB Notification: Performance of Templates: time 0.05836/0.7275, allocations: 30.21 MB / 0.7308 GB, free: 15.5 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)