Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 106.3 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.001037/0.001037, 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.283/1.283, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7135/0.7135, allocations: 115.3 MB / 406.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 493.6 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3624, allocations: 76.17 MB / 0.5564 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006591/0.369, allocations: 6.14 MB / 0.5624 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004378/0.3734, allocations: 3.188 MB / 0.5655 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004324/0.3739, allocations: 27.41 kB / 0.5655 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.3757, allocations: 0.8787 MB / 0.5664 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.3768, allocations: 439.2 kB / 0.5668 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.3779, allocations: 464.8 kB / 0.5672 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.3793, allocations: 1.462 MB / 0.5687 GB, free: 28.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008734/0.3802, allocations: 0.6268 MB / 0.5693 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005126/0.3807, allocations: 395.7 kB / 0.5697 GB, free: 28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.3813, allocations: 480.3 kB / 0.5701 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.675e-05/0.3814, allocations: 42.94 kB / 0.5702 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.3826, allocations: 0.5834 MB / 0.5707 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.3829, allocations: 274.5 kB / 0.571 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.3833, allocations: 386.4 kB / 0.5714 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.3843, allocations: 0.9044 MB / 0.5722 GB, free: 27.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3843, allocations: 2.5 kB / 0.5722 GB, free: 27.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3843, allocations: 0 / 0.5722 GB, free: 27.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.3844, allocations: 0 / 0.5722 GB, free: 27.03 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001458/0.3858, allocations: 1.06 MB / 0.5733 GB, free: 26.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3859, allocations: 13.03 kB / 0.5733 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.3873, allocations: 221.6 kB / 0.5735 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007215/0.3881, allocations: 0.5446 MB / 0.574 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.3881, allocations: 46.73 kB / 0.5741 GB, free: 25.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.3882, allocations: 66.47 kB / 0.5741 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.3895, allocations: 1.029 MB / 0.5751 GB, free: 25.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.3896, allocations: 14.72 kB / 0.5752 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.299e-05/0.3896, allocations: 28.23 kB / 0.5752 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.417e-05/0.3897, allocations: 73.86 kB / 0.5753 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.3908, allocations: 0.6924 MB / 0.5759 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004019/0.3948, allocations: 5.754 MB / 0.5816 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007063/0.3955, allocations: 0.6012 MB / 0.5821 GB, free: 19.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007152/0.3962, allocations: 420.3 kB / 0.5825 GB, free: 19.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.3963, allocations: 6.969 kB / 0.5825 GB, free: 19.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.3963, allocations: 36.72 kB / 0.5826 GB, free: 19.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.803e-06/0.3963, allocations: 3.938 kB / 0.5826 GB, free: 19.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.00409/0.4004, allocations: 2.056 MB / 0.5846 GB, free: 18.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.4004, allocations: 59.78 kB / 0.5847 GB, free: 18.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.4009, allocations: 461.4 kB / 0.5851 GB, free: 18.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.4009, allocations: 30.86 kB / 0.5851 GB, free: 18.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.4011, allocations: 385.7 kB / 0.5855 GB, free: 17.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.035e-05/0.4012, allocations: 150.4 kB / 0.5856 GB, free: 17.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.4014, allocations: 110.1 kB / 0.5857 GB, free: 17.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.772e-05/0.4015, allocations: 365.5 kB / 0.5861 GB, free: 17.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.4018, allocations: 244 kB / 0.5863 GB, free: 17.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.4022, allocations: 464.5 kB / 0.5868 GB, free: 16.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007794/0.403, allocations: 0.7555 MB / 0.5875 GB, free: 16.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.403, allocations: 2.125 kB / 0.5875 GB, free: 16.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001721/0.4047, allocations: 1.063 MB / 0.5885 GB, free: 15.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4048, allocations: 11.97 kB / 0.5886 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.4048, allocations: 6.375 kB / 0.5886 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009546/0.4057, allocations: 328.7 kB / 0.5889 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.406, allocations: 100.2 kB / 0.589 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004991/0.411, allocations: 6.95 MB / 0.5958 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.4114, allocations: 31.86 kB / 0.5958 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.4115, allocations: 24.84 kB / 0.5958 GB, free: 9.168 MB / 446.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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002964/0.4118, allocations: 251.5 kB / 0.596 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.362e-05/0.4119, allocations: 60.73 kB / 0.5961 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.4134, allocations: 0.918 MB / 0.597 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4134, allocations: 4.406 kB / 0.597 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4134, allocations: 4.062 kB / 0.597 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4134, allocations: 3.984 kB / 0.597 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.4158, allocations: 1.717 MB / 0.5987 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4158, allocations: 1.406 kB / 0.5987 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.416, allocations: 37.94 kB / 0.5987 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008886/0.4169, allocations: 332.2 kB / 0.599 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.4169, allocations: 11.34 kB / 0.5991 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004718/0.4216, allocations: 6.939 MB / 0.6058 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4217, allocations: 96 / 0.6058 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.4233, allocations: 1.03 MB / 0.6068 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.4235, allocations: 172.3 kB / 0.607 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.4236, allocations: 12 kB / 0.607 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.4238, allocations: 19.97 kB / 0.607 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.661e-05/0.424, allocations: 39.95 kB / 0.6071 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.424, allocations: 15.94 kB / 0.6071 GB, free: 14.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003117/0.4243, allocations: 310.9 kB / 0.6074 GB, free: 14.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4243, allocations: 0 / 0.6074 GB, free: 14.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000812/0.4251, allocations: 196 kB / 0.6076 GB, free: 13.99 MB / 462.1 MB 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001424/0.4253, allocations: 117 kB / 0.6077 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.427, allocations: 1.195 MB / 0.6088 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.427, allocations: 4 kB / 0.6089 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.4281, allocations: 0.8542 MB / 0.6097 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009129/0.429, allocations: 195.8 kB / 0.6099 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.431, allocations: 1.594 MB / 0.6114 GB, free: 9.879 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.4315, allocations: 0.9921 MB / 0.6124 GB, free: 8.859 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.139e-05/0.4316, allocations: 35.44 kB / 0.6124 GB, free: 8.828 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4316, allocations: 0 / 0.6124 GB, free: 8.828 MB / 462.1 MB Notification: Performance of Templates: time 0.01828/0.4499, allocations: 18.66 MB / 0.6307 GB, free: 6.207 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)