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.001207/0.001207, allocations: 106.4 kB / 16.52 MB, free: 6.656 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.001372/0.001372, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.412/1.412, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7799/0.7799, allocations: 115.3 MB / 406.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 59.91 kB / 493.6 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3545, allocations: 76.17 MB / 0.5564 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01109/0.3656, allocations: 10.85 MB / 0.567 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.3777, allocations: 8.793 MB / 0.5756 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.3795, allocations: 56.22 kB / 0.5756 GB, free: 22.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004038/0.3836, allocations: 1.554 MB / 0.5771 GB, free: 21.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004802/0.3884, allocations: 1.403 MB / 0.5785 GB, free: 21.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.3904, allocations: 0.6133 MB / 0.5791 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00387/0.3942, allocations: 2.901 MB / 0.5819 GB, free: 19.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.3966, allocations: 1.326 MB / 0.5832 GB, free: 19.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.3985, allocations: 0.8802 MB / 0.5841 GB, free: 18.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.4006, allocations: 1.029 MB / 0.5851 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000522/0.4012, allocations: 86.97 kB / 0.5852 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.4036, allocations: 0.9103 MB / 0.5861 GB, free: 18.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008955/0.4045, allocations: 0.5206 MB / 0.5866 GB, free: 17.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001893/0.4064, allocations: 0.8233 MB / 0.5874 GB, free: 17.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002979/0.4094, allocations: 2.018 MB / 0.5894 GB, free: 16.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4094, allocations: 1.125 kB / 0.5894 GB, free: 16.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4094, allocations: 0 / 0.5894 GB, free: 16.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001068/0.4095, allocations: 0 / 0.5894 GB, free: 16.11 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.005923/0.4154, allocations: 2.019 MB / 0.5913 GB, free: 14.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.4155, allocations: 17.17 kB / 0.5913 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.4268, allocations: 2.041 MB / 0.5933 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/0.4294, allocations: 1.128 MB / 0.5944 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.4295, allocations: 93.19 kB / 0.5945 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004637/0.43, allocations: 126.3 kB / 0.5946 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006055/0.436, allocations: 2.48 MB / 0.5971 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.279e-05/0.4361, allocations: 11.84 kB / 0.5971 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.4364, allocations: 55.98 kB / 0.5971 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003368/0.4367, allocations: 130.1 kB / 0.5973 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006364/0.4431, allocations: 2.537 MB / 0.5997 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.4562, allocations: 10.08 MB / 0.6096 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006335/0.4626, allocations: 1.948 MB / 0.6115 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002739/0.4654, allocations: 0.9721 MB / 0.6124 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/0.4654, allocations: 4.438 kB / 0.6124 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.4655, allocations: 46.94 kB / 0.6125 GB, free: 10.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.915e-06/0.4655, allocations: 0 / 0.6125 GB, free: 10.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.03084/0.4963, allocations: 8.718 MB / 0.621 GB, free: 1.426 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.4964, allocations: 60.06 kB / 0.621 GB, free: 1.352 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.4979, allocations: 1.101 MB / 0.6221 GB, free: 240 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.4981, allocations: 37.7 kB / 0.6222 GB, free: 196 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005324/0.4986, allocations: 0.7341 MB / 0.6229 GB, free: 15.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/0.4989, allocations: 283.9 kB / 0.6231 GB, free: 15.17 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000408/0.4993, allocations: 202.4 kB / 0.6233 GB, free: 14.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4994, allocations: 345.9 kB / 0.6237 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002753/0.5022, allocations: 1.067 MB / 0.6247 GB, free: 13.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002885/0.5051, allocations: 1.309 MB / 0.626 GB, free: 12.15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005596/0.5107, allocations: 2.382 MB / 0.6283 GB, free: 9.672 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.5108, allocations: 4 kB / 0.6283 GB, free: 9.668 MB / 478.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008634/0.5194, allocations: 3.273 MB / 0.6315 GB, free: 6.359 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.5194, allocations: 9.875 kB / 0.6315 GB, free: 6.352 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.5195, allocations: 12.06 kB / 0.6315 GB, free: 6.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002906/0.5224, allocations: 0.7988 MB / 0.6323 GB, free: 5.516 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.5243, allocations: 407.3 kB / 0.6327 GB, free: 5.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/0.5393, allocations: 14.7 MB / 0.6471 GB, free: 5.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.5416, allocations: 295.6 kB / 0.6473 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.5418, allocations: 51.97 kB / 0.6474 GB, free: 5.008 MB / 494.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.000855/0.5427, allocations: 401.4 kB / 0.6478 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003615/0.5431, allocations: 150.2 kB / 0.6479 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008518/0.5516, allocations: 3.206 MB / 0.651 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.5516, allocations: 8 kB / 0.6511 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/0.5517, allocations: 8 kB / 0.6511 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.5517, allocations: 3.984 kB / 0.6511 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.563, allocations: 4.893 MB / 0.6558 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.563, allocations: 4 kB / 0.6558 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.5645, allocations: 355.7 kB / 0.6562 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002506/0.5671, allocations: 0.6975 MB / 0.6569 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.5672, allocations: 31.97 kB / 0.6569 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/0.5818, allocations: 14.32 MB / 0.6709 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.5818, allocations: 4 kB / 0.6709 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007822/0.5896, allocations: 3.042 MB / 0.6739 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000834/0.5905, allocations: 383.2 kB / 0.6742 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003672/0.5909, allocations: 19.94 kB / 0.6742 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/0.5927, allocations: 291.5 kB / 0.6745 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.593, allocations: 80.48 kB / 0.6746 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.5931, allocations: 35.97 kB / 0.6746 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001078/0.5942, allocations: 0.7444 MB / 0.6754 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5942, allocations: 0 / 0.6754 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001622/0.5958, allocations: 435.9 kB / 0.6758 GB, free: 6.566 MB / 0.5137 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.0002503/0.5961, allocations: 127.2 kB / 0.6759 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007889/0.604, allocations: 3.617 MB / 0.6794 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.604, allocations: 0 / 0.6794 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004652/0.6087, allocations: 2.367 MB / 0.6817 GB, free: 244 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/0.6112, allocations: 482.6 kB / 0.6822 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007864/0.6191, allocations: 4.167 MB / 0.6863 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.6202, allocations: 1.384 MB / 0.6876 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/0.6208, allocations: 127.3 kB / 0.6877 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/0.6208, allocations: 4 kB / 0.6877 GB, free: 10 MB / 0.5294 GB Notification: Performance of Templates: time 0.2925/0.9133, allocations: 74.96 MB / 0.761 GB, free: 161.4 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)