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.001045/0.001045, allocations: 110.6 kB / 17.08 MB, free: 5.969 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.0009617/0.0009616, allocations: 194.9 kB / 18.01 MB, free: 5.055 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.293/1.293, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6986/0.6986, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 62.33 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1424, allocations: 76.18 MB / 0.6327 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01372/0.1562, allocations: 10.89 MB / 0.6434 GB, free: 9.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.1695, allocations: 8.803 MB / 0.652 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.1709, allocations: 59.62 kB / 0.652 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004336/0.1753, allocations: 1.666 MB / 0.6536 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004502/0.1798, allocations: 1.569 MB / 0.6552 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.1816, allocations: 0.6776 MB / 0.6558 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003103/0.1847, allocations: 2.286 MB / 0.6581 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002145/0.1869, allocations: 1.38 MB / 0.6594 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.1886, allocations: 0.9965 MB / 0.6604 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001759/0.1904, allocations: 1.035 MB / 0.6614 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003912/0.1908, allocations: 136 kB / 0.6615 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.1925, allocations: 0.7955 MB / 0.6623 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007166/0.1932, allocations: 0.5764 MB / 0.6629 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.1947, allocations: 0.8862 MB / 0.6637 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003457/0.1981, allocations: 2.558 MB / 0.6662 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1982, allocations: 7.938 kB / 0.6662 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1982, allocations: 0 / 0.6662 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.297e-05/0.1983, allocations: 3.984 kB / 0.6662 GB, free: 1.914 MB / 0.4981 GB 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.00398/0.2022, allocations: 2.022 MB / 0.6682 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2023, allocations: 8.031 kB / 0.6682 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.2137, allocations: 2.05 MB / 0.6702 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.2162, allocations: 1.212 MB / 0.6714 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.352e-05/0.2163, allocations: 82.7 kB / 0.6715 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000387/0.2167, allocations: 120.1 kB / 0.6716 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006036/0.2227, allocations: 2.478 MB / 0.674 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.518e-05/0.2228, allocations: 7.906 kB / 0.674 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.223, allocations: 55.94 kB / 0.6741 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003709/0.2234, allocations: 134.1 kB / 0.6742 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007381/0.2308, allocations: 2.537 MB / 0.6767 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0133/0.2441, allocations: 10.03 MB / 0.6865 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006233/0.2504, allocations: 1.944 MB / 0.6884 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002709/0.2531, allocations: 0.9777 MB / 0.6893 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.731e-05/0.2532, allocations: 16.36 kB / 0.6894 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.2532, allocations: 39 kB / 0.6894 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.435e-06/0.2532, allocations: 0 / 0.6894 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.03071/0.2839, allocations: 8.706 MB / 0.6979 GB, free: 452 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.284, allocations: 64 kB / 0.698 GB, free: 376 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.2856, allocations: 1.112 MB / 0.699 GB, free: 15.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.2857, allocations: 45.7 kB / 0.6991 GB, free: 15.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005229/0.2863, allocations: 0.7379 MB / 0.6998 GB, free: 14.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.2865, allocations: 275.9 kB / 0.7001 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003834/0.2869, allocations: 202.4 kB / 0.7003 GB, free: 13.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2871, allocations: 341.9 kB / 0.7006 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00293/0.29, allocations: 1.079 MB / 0.7016 GB, free: 12.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003085/0.2931, allocations: 1.301 MB / 0.7029 GB, free: 11.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006001/0.2991, allocations: 2.378 MB / 0.7052 GB, free: 8.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.2991, allocations: 4 kB / 0.7052 GB, free: 8.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008683/0.3078, allocations: 3.276 MB / 0.7084 GB, free: 5.355 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.3079, allocations: 8 kB / 0.7085 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.3079, allocations: 8 kB / 0.7085 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002673/0.3106, allocations: 0.7874 MB / 0.7092 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.3125, allocations: 419.2 kB / 0.7096 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/0.3276, allocations: 15.91 MB / 0.7252 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/0.3299, allocations: 295.6 kB / 0.7255 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.33, allocations: 47.97 kB / 0.7255 GB, free: 2.742 MB / 0.5606 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.0007214/0.3307, allocations: 397.4 kB / 0.7259 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/0.331, allocations: 142.3 kB / 0.726 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008473/0.3395, allocations: 3.206 MB / 0.7291 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.3395, allocations: 11.94 kB / 0.7292 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.3395, allocations: 8 kB / 0.7292 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.3395, allocations: 4.172 kB / 0.7292 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.3502, allocations: 4.917 MB / 0.734 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.3502, allocations: 3.938 kB / 0.734 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/0.3518, allocations: 355.7 kB / 0.7343 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002218/0.3541, allocations: 0.6974 MB / 0.735 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.812e-05/0.3542, allocations: 31.97 kB / 0.735 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/0.3683, allocations: 15.52 MB / 0.7502 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3683, allocations: 7.938 kB / 0.7502 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007871/0.3762, allocations: 3.043 MB / 0.7532 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006525/0.3769, allocations: 379.2 kB / 0.7535 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.3771, allocations: 24.12 kB / 0.7535 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/0.3789, allocations: 299.4 kB / 0.7538 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/0.3792, allocations: 80.48 kB / 0.7539 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.384e-05/0.3793, allocations: 39.97 kB / 0.7539 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008957/0.3802, allocations: 0.7366 MB / 0.7547 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3802, allocations: 4 kB / 0.7547 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001284/0.3815, allocations: 432 kB / 0.7551 GB, free: 3.027 MB / 0.5919 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.0002217/0.3817, allocations: 121.6 kB / 0.7552 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2677/0.6494, allocations: 3.625 MB / 0.7587 GB, free: 116.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/0.6495, allocations: 1.75 kB / 0.7587 GB, free: 116.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005396/0.6549, allocations: 2.372 MB / 0.761 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.6574, allocations: 0.5159 MB / 0.7616 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008362/0.6658, allocations: 3.545 MB / 0.765 GB, free: 114.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.667, allocations: 1.385 MB / 0.7664 GB, free: 113.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006836/0.6677, allocations: 126.5 kB / 0.7665 GB, free: 113.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/0.6677, allocations: 0 / 0.7665 GB, free: 113.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.0628/0.7305, allocations: 75.11 MB / 0.8398 GB, free: 53.38 MB / 0.5919 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)