Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 117 kB / 17.09 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.001451/0.001452, allocations: 196.6 kB / 18.02 MB, free: 5.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.411/1.411, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7414/0.7414, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 65.3 kB / 0.5583 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1774, allocations: 76.18 MB / 0.6327 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009175/0.1866, allocations: 6.705 MB / 0.6393 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005631/0.1923, allocations: 3.036 MB / 0.6423 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005761/0.1929, allocations: 27.81 kB / 0.6423 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.1956, allocations: 0.9512 MB / 0.6432 GB, free: 9.621 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.1971, allocations: 0.5051 MB / 0.6437 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.1983, allocations: 425.6 kB / 0.6441 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.1997, allocations: 1.228 MB / 0.6453 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000906/0.2006, allocations: 0.6621 MB / 0.646 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.2012, allocations: 474.3 kB / 0.6464 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00063/0.2019, allocations: 0.5137 MB / 0.6469 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.202, allocations: 68 kB / 0.647 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007573/0.2027, allocations: 379.2 kB / 0.6473 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.203, allocations: 311.2 kB / 0.6476 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.2035, allocations: 449.7 kB / 0.6481 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.2047, allocations: 1.215 MB / 0.6492 GB, free: 3.414 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2047, allocations: 4 kB / 0.6493 GB, free: 3.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2047, allocations: 0 / 0.6493 GB, free: 3.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.2048, allocations: 4 kB / 0.6493 GB, free: 3.406 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001991/0.2068, allocations: 1.161 MB / 0.6504 GB, free: 2.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.2068, allocations: 12.03 kB / 0.6504 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.2083, allocations: 235.6 kB / 0.6506 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000863/0.2092, allocations: 0.5921 MB / 0.6512 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.2092, allocations: 45.69 kB / 0.6512 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.2093, allocations: 68.27 kB / 0.6513 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.2108, allocations: 1.093 MB / 0.6524 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.2108, allocations: 3.938 kB / 0.6524 GB, free: 0 / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.052e-05/0.2109, allocations: 35.98 kB / 0.6524 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.2111, allocations: 81.25 kB / 0.6525 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.2122, allocations: 0.7542 MB / 0.6532 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005324/0.2175, allocations: 5.87 MB / 0.659 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009816/0.2185, allocations: 0.5633 MB / 0.6595 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/0.219, allocations: 322 kB / 0.6598 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.219, allocations: 4.438 kB / 0.6598 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.219, allocations: 39 kB / 0.6599 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.385e-06/0.2191, allocations: 0 / 0.6599 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.003952/0.223, allocations: 1.99 MB / 0.6618 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.2231, allocations: 55.84 kB / 0.6619 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006593/0.2238, allocations: 0.5547 MB / 0.6624 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.2238, allocations: 37.7 kB / 0.6624 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.2241, allocations: 411 kB / 0.6628 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.2243, allocations: 173.5 kB / 0.663 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.2245, allocations: 126.6 kB / 0.6631 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.2246, allocations: 378.7 kB / 0.6635 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.2251, allocations: 269.8 kB / 0.6637 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005503/0.2256, allocations: 496.9 kB / 0.6642 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.2267, allocations: 0.8055 MB / 0.665 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.2268, allocations: 4 kB / 0.665 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002506/0.2293, allocations: 1.098 MB / 0.6661 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.2293, allocations: 9.875 kB / 0.6661 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.2294, allocations: 8 kB / 0.6661 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.2306, allocations: 276 kB / 0.6663 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.2312, allocations: 127.8 kB / 0.6665 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.2415, allocations: 7.126 MB / 0.6734 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.2427, allocations: 43.95 kB / 0.6735 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.896e-05/0.2428, allocations: 28 kB / 0.6735 GB, free: 8.988 MB / 0.5137 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.0006793/0.2435, allocations: 260 kB / 0.6737 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.2437, allocations: 71.16 kB / 0.6738 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/0.2462, allocations: 0.8885 MB / 0.6747 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.2462, allocations: 4 kB / 0.6747 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2462, allocations: 4 kB / 0.6747 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.2462, allocations: 3.984 kB / 0.6747 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/0.2503, allocations: 1.724 MB / 0.6764 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.2504, allocations: 0 / 0.6764 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.2508, allocations: 71.81 kB / 0.6764 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.2519, allocations: 267.6 kB / 0.6767 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.848e-05/0.2519, allocations: 12 kB / 0.6767 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009856/0.2618, allocations: 7.122 MB / 0.6837 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2618, allocations: 3.938 kB / 0.6837 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.2646, allocations: 0.9873 MB / 0.6846 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000576/0.2652, allocations: 196.1 kB / 0.6848 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.2653, allocations: 12 kB / 0.6848 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.266, allocations: 27.91 kB / 0.6849 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.2662, allocations: 47.94 kB / 0.6849 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/0.2662, allocations: 12 kB / 0.6849 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007998/0.2671, allocations: 383.1 kB / 0.6853 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.9e-07/0.2671, allocations: 0 / 0.6853 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001476/0.2686, allocations: 224 kB / 0.6855 GB, free: 11.95 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002683/0.2688, allocations: 111.2 kB / 0.6856 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003693/0.2726, allocations: 1.279 MB / 0.6869 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.2726, allocations: 0 / 0.6869 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.2749, allocations: 0.8974 MB / 0.6877 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.277, allocations: 219.6 kB / 0.6879 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/0.2816, allocations: 1.389 MB / 0.6893 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.2828, allocations: 1.005 MB / 0.6903 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.2831, allocations: 51.42 kB / 0.6903 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of SimCode: time 1.322e-06/0.2831, allocations: 0 / 0.6903 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of Templates: time 0.04498/0.3281, allocations: 20.69 MB / 0.7105 GB, free: 2.168 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)